Anti-Team kill
#1

Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
	if(playerTeam[playerid] == playerTeam[issuerid])
	{
		new Float:h; GetPlayerHealth(playerid,h);
		SetPlayerHealth(playerid,h+amount);
	}
	return 1;
}
But it not working good,if i shoot with m4 or ak47,health is going down!

Sorry for my english.
Reply


Messages In This Thread
Anti-Team kill - by iulicxd - 05.03.2016, 07:57
Re: Anti-Team kill - by xEF - 05.03.2016, 08:08
Re: Anti-Team kill - by iulicxd - 05.03.2016, 08:14
Re: Anti-Team kill - by itsCody - 05.03.2016, 08:16
Re: Anti-Team kill - by xEF - 05.03.2016, 08:20
Re: Anti-Team kill - by Threshold - 05.03.2016, 12:26
Re: Anti-Team kill - by GeneralAref - 05.03.2016, 12:28
Re: Anti-Team kill - by YoussefHammad - 05.03.2016, 15:43
Re: Anti-Team kill - by MicroKyrr - 06.03.2016, 00:37

Forum Jump:


Users browsing this thread: 2 Guest(s)