OnPlayerGiveDamage / Anti- Teamkill Help!
#3

pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
if(gTeam[damagedid] == gTeam[playerid])
{
    new Float:h;
    GetPlayerHealth(damagedid,h);
    SetPlayerHealth(damagedid,h+amount);
}
  return 1;
}
Reply


Messages In This Thread
OnPlayerGiveDamage / Anti- Teamkill Help! - by California_ - 19.01.2013, 03:11
Re: OnPlayerGiveDamage / Anti- Teamkill Help! - by s0nic - 19.01.2013, 03:26
Respuesta: OnPlayerGiveDamage / Anti- Teamkill Help! - by SaiB0T - 19.01.2013, 04:16
Re: OnPlayerGiveDamage / Anti- Teamkill Help! - by V_LOPE - 19.01.2013, 07:31

Forum Jump:


Users browsing this thread: 1 Guest(s)