oscar-broman / samp-weapon-config

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

Server side health with lagcomp off? #285

Open Hidend opened 3 months ago

Hidend commented 3 months ago

Would it be possible to have server side health with lagcomp off and if not, why is that? I have tested a godmode cheat and weapon-config with lagcomp on and since health is server-side, the cheat just doesn't work, but if I change lagcomp to off, then the godmode cheat works. This is all intented since in the features it's explicity said to only be working on lagcomp, so my question is that, if it would be possible to support lagcomp off.

Thanks!

Hidend commented 3 months ago

I tried to use this: https://github.com/ReshiramZekrom1/samp-opws-fix + samp-weapon-config and now OnPlayerWeaponShot does indeed get called with lagcomp off, but you can't even do damage if you use samp-weapon-config