/armorall and /healall
#3

pawn Код:
CMD:armorall(playerid, params[])
{
    if(IsPlayerAdmin(playerid))//change to your admin system
    {
        SendClientMessageToAll(COLOR_GREEN, "All players healed by Admin");
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            SetPlayerArmour(i, 100.0);
        }
    }
    else SendClientMessage(playerid,COLOR_RED,"You are not Admin!");
    return true;
}




CMD:healall(playerid, params[])
{
    if(IsPlayerAdmin(playerid))//change to your admin system
    {
        SendClientMessageToAll(COLOR_GREEN, "All players healed by Admin");
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            SetPlayerHealth(i, 100.0);
        }
    }
    else SendClientMessage(playerid,COLOR_RED,"You are not Admin!");
    return true;
}

Drebin mean about dannyk0ed not mine xD
Reply


Messages In This Thread
/armorall and /healall - by imnoob - 04.06.2012, 14:47
Re: /armorall and /healall - by dannyk0ed - 04.06.2012, 14:49
Re: /armorall and /healall - by doreto - 04.06.2012, 14:50
AW: /armorall and /healall - by Drebin - 04.06.2012, 14:51
Re: AW: /armorall and /healall - by dannyk0ed - 04.06.2012, 14:52
Re: AW: /armorall and /healall - by imnoob - 04.06.2012, 20:00
Re: AW: /armorall and /healall - by DaRealShazz - 04.06.2012, 20:08
Re: /armorall and /healall - by AbO.SbRe - 04.06.2012, 20:13
Re: /armorall and /healall - by FalconX - 04.06.2012, 20:17
Re: /armorall and /healall - by SuperViper - 04.06.2012, 20:23

Forum Jump:


Users browsing this thread: 1 Guest(s)