oscar-broman / samp-weapon-config

A more consistent and responsive damage system with many new features
Apache License 2.0
92 stars 85 forks source link

Modified weapon.dat #289

Closed KirovNoName closed 2 weeks ago

KirovNoName commented 4 months ago

what native code that detects modified weapon.dat

SysadminJeroen commented 4 months ago

You can probably use AverageShootRate to detect changes in weapon.dat that changes the shooting rate.

I'm pretty sure that the damage modifications are just ignored by weapon-config, since it handles damage in a different way. I'm not even sure if damage modifications is something even sent in the netcode, other than with weapon-config. Edit: With "sent in the netcode", I meant sent to the client. You can modify the amount of damage weapons do with weapon-config, the script will pass whatever result of that along to the client.

NexiusTailer commented 4 months ago

what native code that detects modified weapon.dat

Basically this one