21.01.2011, 10:01
Have you read wiki?
Example from wiki:
You can read more from wiki
https://sampwiki.blast.hk/wiki/TextDrawCreate
Example from wiki:
pawn Код:
// This variable is used to store the id of the textdraw
// so that we can use it throught the script
new Text:welcomeText;
public OnGameModeInit()
{
// This line is used to create the textdraw.
// Note: This creates a textdraw without any formatting.
welcomeText = TextDrawCreate(240.0,580.0,"Welcome to my SA-MP server");
return 1;
}
public OnPlayerConnect(playerid)
{
//This is used to show the player the textdraw when they connect.
TextDrawShowForPlayer(playerid,welcomeText);
}
https://sampwiki.blast.hk/wiki/TextDrawCreate