SA-MP Forums Archive
Timer for kick - 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: Timer for kick (/showthread.php?tid=580121)



Timer for kick - STONEGOLD - 02.07.2015

How to make timer for kick player.

I mean, Kick player after 3 seconds.

SettimerEx("Kick", "false", 0 , playerid);? something this?


Re: Timer for kick - kalanerik99 - 02.07.2015

Код:
SetTimerEx("Kickplayer",3000,false,"i",kickedplayerid);

public Kickplayer(kickedplayerid)
{
Kick(kickedplayerid);
return 1;
}



Re: Timer for kick - Sc0pion - 02.07.2015

If it's hard for you to do, go to:
Код:
www.******************/post/KickBaninc_-_Hooks_Kick_and_Ban_to_show_messages_properly-Emmet_-other_include-13162/
for the include, add the include on your gamemode or whatever, no need of editing your kick, or ban one by one.

NOTE: Credit goes to the author.


Re: Timer for kick - STONEGOLD - 02.07.2015

already done. but thanks.


Re: Timer for kick - Sc0pion - 02.07.2015

Quote:
Originally Posted by STONEGOLD
Посмотреть сообщение
already done. but thanks.
No problem.