Messages and Kick in 0.3x
#8

the problem is not kicking the player.
Код:
forward Kicker_Lock (playerid);
public Kicker_Lock (playerid) {
    if (!Players[playerid][Leaving] && !Players[playerid][Unlock] && Server[ServerLock]) {
	    format(cmdstr, 150, "*** %s has left the server (Kicked || Reason: Server Lock)", Players[playerid][Name]);
	    SendClientMessageToAll(COLOR, cmdstr);

	    Players[playerid][Leaving] = true;
	    SetTimerEx("KickPlayer", 1, false, "i", playerid); }

	return 1; }
the
Код:
format(cmdstr, 150, "*** %s has left the server (Kicked || Reason: Server Lock)", Players[playerid][Name]);
appears two times. like:
Код:
*** P3DRO has left the server (Kicked || Reason: Server Lock)
*** P3DRO has left the server (Kicked || Reason: Server Lock)
and it should only appear one time
Reply


Messages In This Thread
Messages and Kick in 0.3x - by P3DRO - 16.03.2013, 03:34
Re: Messages and Kick in 0.3x - by Alvord - 16.03.2013, 03:59
Re: Messages and Kick in 0.3x - by P3DRO - 16.03.2013, 04:00
Re: Messages and Kick in 0.3x - by Alvord - 16.03.2013, 04:05
Re: Messages and Kick in 0.3x - by P3DRO - 16.03.2013, 04:09
Re: Messages and Kick in 0.3x - by P3DRO - 17.03.2013, 14:53
Re: Messages and Kick in 0.3x - by kamzaf - 17.03.2013, 15:15
Re: Messages and Kick in 0.3x - by P3DRO - 17.03.2013, 15:20
Re: Messages and Kick in 0.3x - by kamzaf - 17.03.2013, 15:32
Re: Messages and Kick in 0.3x - by P3DRO - 17.03.2013, 15:45

Forum Jump:


Users browsing this thread: 1 Guest(s)