Death System like LS:RP
#6

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.
Reply


Messages In This Thread
Death System like LS:RP - by valelele - 19.06.2017, 15:18
Re: Death System like LS:RP - by Dice_ - 19.06.2017, 16:06
Re: Death System like LS:RP - by valelele - 19.06.2017, 16:35
Re: Death System like LS:RP - by Puppy - 19.06.2017, 16:56
Re: Death System like LS:RP - by valelele - 19.06.2017, 17:04
Re: Death System like LS:RP - by DRIFT_HUNTER - 19.06.2017, 17:44
Re: Death System like LS:RP - by JasonRiggs - 19.06.2017, 18:03
Re: Death System like LS:RP - by valelele - 19.06.2017, 18:05
Re: Death System like LS:RP - by JasonRiggs - 19.06.2017, 18:09
Re: Death System like LS:RP - by GoldenLion - 19.06.2017, 18:55
Re: Death System like LS:RP - by valelele - 19.06.2017, 19:15

Forum Jump:


Users browsing this thread: 1 Guest(s)