Need announce : Banned + server closed connection
#2

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);
}
Reply


Messages In This Thread
Need announce : Banned + server closed connection - by jesdynguyen - 21.05.2014, 20:50
Re: Need announce : Banned + server closed connection - by SickAttack - 21.05.2014, 20:55
Re: Need announce : Banned + server closed connection - by iZN - 21.05.2014, 20:56
Re: Need announce : Banned + server closed connection - by eXeDeveloper - 21.05.2014, 20:57
Re: Need announce : Banned + server closed connection - by SickAttack - 21.05.2014, 21:03

Forum Jump:


Users browsing this thread: 1 Guest(s)