Medic class
#9

Heal all medics:

pawn Код:
CMD:heal(playerid, params[])
{
       foreach(new i: Player);
       {
              if(pClass[i]  == CLASS_MEDIC)
              {
                     SetPlayerHealth(i, 100);
              }
       }
}

ZCMD and Foreach required.
Reply


Messages In This Thread
Medic class - by FireWarrior101 - 03.08.2013, 11:41
Re: Medic class - by FireWarrior101 - 03.08.2013, 13:31
Re: Medic class - by FireWarrior101 - 03.08.2013, 15:34
Re: Medic class - by FireWarrior101 - 03.08.2013, 20:04
Re: Medic class - by FireWarrior101 - 04.08.2013, 08:13
Re: Medic class - by jamesbond007 - 04.08.2013, 08:25
Re: Medic class - by FireWarrior101 - 04.08.2013, 09:21
Re: Medic class - by RajatPawar - 04.08.2013, 09:23
Re: Medic class - by arjanforgames - 04.08.2013, 09:29
Re: Medic class - by FireWarrior101 - 04.08.2013, 10:43

Forum Jump:


Users browsing this thread: 4 Guest(s)