Id 0 Command Processing
#7

SetTimerEx is used to pass extra parameters through the callback. For example, your example
StartTime( playerid ) - With SetTimerEx, you can pass the 'playerid' parameter. The format would be as so:
pawn Код:
SetTimerEx( "StartTime", 1000, false, "i", playerid );
// 1000 = time
// false = don't repeat
// "i" = the format (integer for 'playerid')
// playerid = the parameter to pass
It's hard to explain, but once you understand it, it's nothing!
Reply


Messages In This Thread
Id 0 Command Processing - by Blade_Cervetti - 01.01.2011, 16:20
Re: Id 0 Command Processing - by Grim_ - 01.01.2011, 16:21
Re: Id 0 Command Processing - by Blade_Cervetti - 01.01.2011, 16:25
Re: Id 0 Command Processing - by _rAped - 01.01.2011, 16:27
Re: Id 0 Command Processing - by Grim_ - 01.01.2011, 16:27
Re: Id 0 Command Processing - by Blade_Cervetti - 01.01.2011, 16:30
Re: Id 0 Command Processing - by Grim_ - 01.01.2011, 16:33
Re: Id 0 Command Processing - by Blade_Cervetti - 01.01.2011, 16:34
Re: Id 0 Command Processing - by [03]Garsino - 01.01.2011, 16:39
Re: Id 0 Command Processing - by Blade_Cervetti - 01.01.2011, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)