28.06.2020, 09:36
Quote:
OnPlayerTakeDamage:
Return Values: 1 - Callback will not be called in other filterscripts. 0 - Allows this callback to be called in other filterscripts. It is always called first in filterscripts so returning 1 there blocks other filterscripts from seeing it. But.. If you use weapon-config include: returning false in OnPlayerDamage will prevent damage from being inflicted. |
Quote:
You could simply use SetPlayerTeam() instead.
https://sampwiki.blast.hk/wiki/SetPlayerTeam |
Thanks