19.06.2017, 17:44
https://sampwiki.blast.hk/wiki/OnPlayerWeaponShot
return 0 there if you want to stop player giving damage. Returning 0/1 in OnPlayer Give/Take Damage does not have any effect other then breaking/continuing callback chain.
But keep in mind OnPlayerWeaponShot only works for weapons with bullets.
If you are hiding player tags then i guess you can set players health to 1000 and make some kind of custom damage system.
return 0 there if you want to stop player giving damage. Returning 0/1 in OnPlayer Give/Take Damage does not have any effect other then breaking/continuing callback chain.
But keep in mind OnPlayerWeaponShot only works for weapons with bullets.
If you are hiding player tags then i guess you can set players health to 1000 and make some kind of custom damage system.