Anti-Team kill
#5

Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
        new Float:h
        GetPlayerHealth(issuerid,h);
        new skin1, skin2;
        skin1 = GetPlayerSkin(playerid);
        skin2 = GetPlayerSkin(issuerid)
	if(skin1 == skin2)
	{
	SetPlayerHealth(issuerid,h);
	}
	return 1;
}
Not tested yet.

Regards,
Rodri.
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: 3 Guest(s)