Textdraw Timer
#8

Quote:
Originally Posted by adsy
Quote:
Originally Posted by Silox
Quote:
Originally Posted by Mастерминд
>>> SetTimerEx <<<

pawn Код:
//OnPlayerExitVehicle
SetTimerEx("HideTextDraw", 10000, 0, "i", playerid);

//Somewhere in the script
forward HideTextDraw(playerid);
public HideTextDraw(playerid)
{
  TextDrawHideForPlayer(playerid, SixteenyearTextdraw);
}
thx, i don't like timers ^^
you can do it with just settimer, saves some size in your file (only a couple of bytes but it all helps)

SetTimer("HideTextDraw", 10000, 0);

Explanation

SetTimer(1, 2, 3);

1: Function to call
2: Time in ms 1000 = 1 second
3: Repeat or not 1=yes 0=no
Eh no you cant,
SetTimer is for everybody,
So it would do that to everybody,

So you would use SetTimerEx
Reply


Messages In This Thread
Textdraw Timer - by sjvt - 11.04.2010, 22:52
Re: Textdraw Timer - by Steven82 - 12.04.2010, 00:35
Re: Textdraw Timer - by sjvt - 12.04.2010, 11:41
Re: Textdraw Timer - by sjvt - 12.04.2010, 19:09
Re: Textdraw Timer - by M4S7ERMIND - 12.04.2010, 19:32
Re: Textdraw Timer - by sjvt - 12.04.2010, 19:35
Re: Textdraw Timer - by adsy - 13.04.2010, 12:10
Re: Textdraw Timer - by Torran - 13.04.2010, 12:32

Forum Jump:


Users browsing this thread: 1 Guest(s)