Medic Class
#3

pawn Код:
CMD:heal(playerid, params[])
{
      if pTeam[playerid] = TEAM_MEDIC;
      new Float:health;
      GetPlayerHealth(playerid,health);
      SetPlayerHealth(playerid, health+30);
}
Don't know your variables, sorry about them identation, on my phone
Reply


Messages In This Thread
Medic Class - by iOmar - 14.08.2012, 01:20
Re: Medic Class - by Kindred - 14.08.2012, 01:27
Re: Medic Class - by Cxnnor - 14.08.2012, 01:35
Re: Medic Class - by iOmar - 14.08.2012, 01:49
Re: Medic Class - by Kindred - 14.08.2012, 01:57

Forum Jump:


Users browsing this thread: 2 Guest(s)