Anti-Team attack thing
#2

What are you exactly trying to do? Heal the player after he has been attacked by a player of his own team? Damage the attacker by the same amount of damage he did to his team mate?

Why don't you use SetPlayerTeam instead which prevents damage among players of same teams?

Or return 0 at OnPlayerWeaponShot ...

Код:
newhealth = health -= amount;
Shouldn't that be

Код:
newhealth = health - amount;
?
Reply


Messages In This Thread
Anti-Team attack thing - by Kyance - 15.02.2014, 18:17
Re: Anti-Team attack thing - by CuervO - 15.02.2014, 19:43
Re: Anti-Team attack thing - by Vanter - 15.02.2014, 19:45
Re: Anti-Team attack thing - by CuervO - 15.02.2014, 19:47
Re: Anti-Team attack thing - by Kyance - 16.02.2014, 05:22
Re: Anti-Team attack thing - by Scenario - 16.02.2014, 05:26
Re: Anti-Team attack thing - by CuervO - 16.02.2014, 05:35
Re: Anti-Team attack thing - by Kyance - 16.02.2014, 07:33
Re: Anti-Team attack thing - by CuervO - 16.02.2014, 08:00
Re: Anti-Team attack thing - by Kyance - 16.02.2014, 08:57

Forum Jump:


Users browsing this thread: 3 Guest(s)