28.11.2011, 12:25
I would use SetTimerEx and TextDrawShowForPlayer and HideforPlayer
like:
in a command:
TextDrawShowForPlayer(playerid, textdraw);
SetTimerEx("hidetextdraw", time, false, "dd", playerid, textdaw);
somewhere in teh script:
forward hidetextdraw(playerid, textdraw);
public hidetextdraw(playerid, textdraw)
{
TextDrawHideForPlayer(playerid, textdraw);
return 1;
}
like:
in a command:
TextDrawShowForPlayer(playerid, textdraw);
SetTimerEx("hidetextdraw", time, false, "dd", playerid, textdaw);
somewhere in teh script:
forward hidetextdraw(playerid, textdraw);
public hidetextdraw(playerid, textdraw)
{
TextDrawHideForPlayer(playerid, textdraw);
return 1;
}