29.12.2014, 13:14
Hello , i want to Destroy the TextDraw After 5 or 7 seconds
E.G.
This is the code so i want that when player watch this textdraw , it automatically disappear after 5 seconds.
E.G.
PHP код:
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);
}