About the Timer - 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: About the Timer (
/showthread.php?tid=571968)
About the Timer -
ChuckyBabe - 24.04.2015
If i set the timer to
Код:
SetTimerEx("DelayedKick", 0000, false, "i", playerid);
If this is like Kick(playerid); if i put 0000 ? and if this still send a message before that for example
Код:
SendClientMessage(playerid, COLOR_GRAD1, "Invalid player specified.");
SetTimerEx("DelayedKick", 1000, false, "i", giveplayerid);
It will send the message first before the kick or what ? +1 Rep!
Re: About the Timer -
Richie© - 24.04.2015
Why not test yourself and share results?
I have 250ms timer and it works fine, havent tested with lower values though.
Re: About the Timer -
ChuckyBabe - 24.04.2015
Quote:
Originally Posted by Richie©
Why not test yourself and share results?
I have 250ms timer and it works fine, havent tested with lower values though.
|
Like this?
Код:
SetTimerEx("DelayedKick", 250, false, "i", giveplayerid);
Re: About the Timer -
TakeiT - 24.04.2015
yes, like that.