Jump to content
  • 0

Problema Textdraw


Skull

Question

Textdrawul nu apare cu toate ca la compile nu iau nici un warning sau vreo eroare.

Textdrawul :

forward IsInSafeZone(playerid);
new Text:Textdrawgang1;
Textdrawgang1 = TextDrawCreate(12.000000, 434.000000, "Aici este Safezone-ul organizatiei X . Daca vei omora pe cineva,vei primi KICK automat.");
	TextDrawBackgroundColor(Textdrawgang1, 255);
	TextDrawFont(Textdrawgang1, 0);
	TextDrawLetterSize(Textdrawgang1, 0.500000, 1.399999);
	TextDrawColor(Textdrawgang1, 16777215);
	TextDrawSetOutline(Textdrawgang1, 0);
	TextDrawSetProportional(Textdrawgang1, 1);
	TextDrawSetShadow(Textdrawgang1, 0);
public IsInSafeZone(playerid)
{
    if(IsPlayerInArea(playerid,1436.625, -1764.764, 1550.711, -1587.116)) // Police
    {
         TextDrawShowForPlayer(playerid, Textdrawgang1);
    }
    else
    {
        TextDrawHideForPlayer(playerid, Textdrawgang1);
    }
    return 1;
}

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.