13.02.2013, 07:30
So I'm guessing you want a timer to hide all the textdraws?
Under OnPlayerConnect
You can change the 20000 to whatever you want. 20000 = 20 seconds, 1000 = 1 second.
pawn Код:
forward HideText(playerid);
pawn Код:
public HideText(playerid)
{
TextDrawHideForPlayer(playerid, Text:Welcome0);
TextDrawHideForPlayer(playerid, Text:Welcome1);
TextDrawHideForPlayer(playerid, Text:Welcome2);
TextDrawHideForPlayer(playerid, Text:Welcome3);
return 1;
}
pawn Код:
SetTimerEx("HideText", 20000, 0, "i", playerid);