27.03.2014, 23:17
After i login a class selection comes up but i want my textdraws to disspier straight after the player logs in so how can i do that?
forward HideTextDraws(playerid);
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, yourtextdraw);
TextDrawShowForPlayer(playerid, yourtextdraw2);
SetTimerEx("HideTextDraws", 5000, false, "i", playerid);
return 1;
}
public HideTextDraws(playerid)
{
TextDrawHideForPlayer(playerid, yourtextdraw);
TextDrawHideForPlayer(playerid, yourtextdraw2);
}