21.05.2014, 20:55
You must create a timer so that the player can see the message. Refer to the code below.
pawn Код:
// This goes were the message is being sent.
SendClientMessage(playerid, ...); // Your message goes here.
SetTimerEx("KickPlayer", 1000, false, "i", playerid);
// Put this on the bottom of your gamemode.
forward KickPlayer(playerid);
public KickPlayer(playerid)
{
Kick(playerid);
}