Team Killing (rep++)
#6

There are two ways to do this...
1) Use SetPlayerTeam
2)//Paste this under OnPlayerGiveDamage
pawn Код:
if(gTeam[killerid] == gTeam[playerid])
{
    new Float:h;
    GetPlayerHealth(damagedid,h);
    SetPlayerHealth(damagedid,h+amount);
}
Reply


Messages In This Thread
Team Killing (rep++) - by iOmar - 02.05.2012, 11:51
Re: Team Killing (rep++) - by MP2 - 02.05.2012, 12:39
Re: Team Killing (rep++) - by iOmar - 02.05.2012, 14:58
Re: Team Killing (rep++) - by kikito - 02.05.2012, 15:04
Re: Team Killing (rep++) - by $$inSane - 02.05.2012, 15:20
Re: Team Killing (rep++) - by Nєχυѕ - 02.05.2012, 15:33
Re: Team Killing (rep++) - by iOmar - 03.05.2012, 03:05
Re: Team Killing (rep++) - by JaKe Elite - 03.05.2012, 03:07
Re: Team Killing (rep++) - by iOmar - 03.05.2012, 03:33
Re: Team Killing (rep++) - by JaKe Elite - 03.05.2012, 03:38

Forum Jump:


Users browsing this thread: 1 Guest(s)