change to zcmd
#3

You just need to change the first line to this - CMD:kickall(playerid, params[]) like this :

pawn Код:
CMD:kickall(playerid, params[])
{
    for(new i = 0; i < MAX_PLAYERS; i++))
    {
        if(!IsPlayerAdmin(i))
        {
            if(IsPlayerConnected(i))
            {
                SendClientMessageToAll(-1,"All Players Have Been Kicked From The Server By An Admin.");
                Kick(i);                
            }
            else return SendClientMessage(playerid,-1,"There Are No Players Connected.");
        }
    }
   return 1;
}
Edit - wow Namer's fast..
Reply


Messages In This Thread
change to zcmd - by Shazwan - 27.05.2014, 08:47
Re: change to zcmd - by JeaSon - 27.05.2014, 08:49
Re: change to zcmd - by Adityz - 27.05.2014, 08:51
Re: change to zcmd - by Shazwan - 27.05.2014, 09:01
Re: change to zcmd - by Threshold - 27.05.2014, 09:05
Re: change to zcmd - by Adityz - 27.05.2014, 09:57

Forum Jump:


Users browsing this thread: 1 Guest(s)