Heal all
#6

Код:
CMD:healall(playerid, params[])
{
    if(IsPlayerAdmin(playerid))
    {
        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;
}
Try this.
Reply


Messages In This Thread
Heal all - by aCloudy - 26.06.2014, 07:33
Re: Heal all - by kirostar - 26.06.2014, 07:35
Re: Heal all - by ]Rafaellos[ - 26.06.2014, 07:36
Re: Heal all - by RenovanZ - 26.06.2014, 07:37
Re: Heal all - by aCloudy - 26.06.2014, 07:38
Re: Heal all - by kirostar - 26.06.2014, 07:47
Re: Heal all - by AIped - 26.06.2014, 07:49
Re: Heal all - by ]Rafaellos[ - 26.06.2014, 09:12
Re: Heal all - by AIped - 26.06.2014, 11:04

Forum Jump:


Users browsing this thread: 1 Guest(s)