Removing damages
#4

https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage

Quote:

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

You're using the wrong callback, use OnPlayerWeaponShot instead for this to work out.
Reply


Messages In This Thread
Removing damages - by aoky - 12.06.2017, 00:23
Re: Removing damages - by Toroi - 12.06.2017, 00:31
Re: Removing damages - by aoky - 12.06.2017, 00:40
Re: Removing damages - by Toroi - 12.06.2017, 00:49
Re: Removing damages - by Kane - 12.06.2017, 00:55
Re: Removing damages - by oSAINTo - 12.06.2017, 01:28
Re: Removing damages - by aoky - 12.06.2017, 01:52
Re: Removing damages - by Toroi - 12.06.2017, 01:56
Re: Removing damages - by aoky - 12.06.2017, 01:57
Re: Removing damages - by Toroi - 12.06.2017, 02:01

Forum Jump:


Users browsing this thread: 2 Guest(s)