04.08.2013, 09:29
Heal all medics:
ZCMD and Foreach required.
pawn Код:
CMD:heal(playerid, params[])
{
foreach(new i: Player);
{
if(pClass[i] == CLASS_MEDIC)
{
SetPlayerHealth(i, 100);
}
}
}
ZCMD and Foreach required.