Jump to content

OnEntityTakeDamage and disablestatsandskills

No Response 1.8.200

Hi, 

`OnEntityTakeDamage` checks for `disableabilities` in the beginning but does not check for `disablestatsandskills`.

thus with zone manager config

  "ZoneManager Mod": {
    "noxpgain": "98054295,91435446",
    "noxploss": "98054295,91435446",
    "disablestatsandskills": "98054295,91435446"
  },

it still lets players to dodge bullets.

Perhaps zone config should have `disableabilities` too or OnEntityTakeDamage to check for both for a player taking damage.

 

Thanks

Share this comment


Link to comment

Looking in the latest release v1.8.300 I see it checks both the attacker and victim for disabled abilities in the OnEntityTakeDamage hook. These are on line 9309 and 9381. 

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.5k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.