msg for kick
#3

Try this.

Код:
if (strcmp("/k", cmdtext, true, 2) == 0)
{
SendClientMessage(playerid, COLOR_RED, "kicked");
SetTimer("kicktimer", 1000, false); // Set a timer of 1000 miliseconds (1 second)
return 1;

}

   
forward kicktimer();
public kicktimer()
{
Kick(playerid);
}
P.S Not tested and you can change that timer time to like 2 seconds if this isn't working.
Reply


Messages In This Thread
msg for kick - by ConnorP - 21.05.2013, 18:21
AW: msg for kick - by HurtLocker - 21.05.2013, 18:24
Re: msg for kick - by edzis84 - 21.05.2013, 18:31
Re: msg for kick - by FiniteSurvival - 21.05.2013, 20:13
Re: msg for kick - by ConnorP - 22.05.2013, 15:19

Forum Jump:


Users browsing this thread: 1 Guest(s)