Would this SetTimerEx line work..? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Would this SetTimerEx line work..? (
/showthread.php?tid=618638)
Would this SetTimerEx line work..? -
Luicy. - 08.10.2016
So, would this timer work?
PHP код:
SetTimerEx("Kick", 5000, false, "i", playerid);
Explanation;
Calling the function Kick(..); after 5 seconds with the parameters "playerid"?
Re: Would this SetTimerEx line work..? -
Abagail - 08.10.2016
You cannot directly call a native from a timer function, that won't work. Emmet_ made an
include that allowed you to, but he has deleted his GitHub so unless someone else has it, it's gone.
Re: Would this SetTimerEx line work..? -
CannonBolt - 08.10.2016
Quote:
Originally Posted by Abagail
You cannot directly call a native from a timer function, that won't work. Emmet_ made an include that allowed you to, but he has deleted his GitHub so unless someone else has it, it's gone.
|
Yeah,you could get all of Emmet_'s releases if you search around a bit
Re: Would this SetTimerEx line work..? -
oMa37 - 08.10.2016
nTimers -
https://www.mediafire.com/?xttshhijlodkcta
All his releases -
http://www.solidfiles.com/v/82M3BqQ8k7GZB