10.02.2017, 17:11
Is there a way to prevent team killing with a minigun?
I tried to do it with OnPlayerTakeDamage, it works for all weapons expect the minigun.
This is what I use to prevent team killing
Is there a better method, because this one is too slow to handle a minigun.
I tried to do it with OnPlayerTakeDamage, it works for all weapons expect the minigun.
This is what I use to prevent team killing
PHP код:
SetPlayerHealth(playerid, HP+amount);