17.08.2015, 11:24
I remember people posting about this. The best thing to do with that is to put it into a timer for something like 100 ms. Here, use mine.
Reason:
Reason:
Quote:
As of SA-MP 0.3x, any action taken directly before Kick() (such as sending a message with SendClientMessage) will not reach the player. A timer must be used to delay the kick. |
pawn Код:
SetTimerEx("KickPlayer",500,false,"i",giveplayerid);// Kicks player in 500ms
forward KickPlayer(playerid);
public KickPlayer(playerid)
{
Kick(playerid);
return 1;
}