Textdraw update
#2

pawn Код:
static Text: myTextDraw = INVALID_TEXT_DRAW;

public OnGameModeInit()
{
     myTextDraw = TextDrawCreate("_", 340, 210);
     return 1;
}

COMMAND:mycommand(playerid)
{
     // Use any of the functions from https://sampwiki.blast.hk/wiki/Category:Textdraw to manipulate the textdraw
     // the ID of the textdraw is stored in the variable 'myTextDraw'
     // Example
     TextDrawSetString(myTextDraw, "New!");
     // Make sure you re-show it for the changes to take effect
     return 1;
}
Reply


Messages In This Thread
Textdraw update - by Trynda - 04.05.2014, 08:18
Re: Textdraw update - by RajatPawar - 04.05.2014, 08:21
Re: Textdraw update - by Trynda - 04.05.2014, 08:23

Forum Jump:


Users browsing this thread: 1 Guest(s)