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

Fix for driver damage exploit #273

Closed NexiusTailer closed 9 months ago

NexiusTailer commented 9 months ago

This fixes driver damage exploit when it was possible to call damage event passing an easy check without any validation (mainly because players don't call OnPlayerWeaponShot actually shooting from driver's seat so it was skipped quite trivially).

NexiusTailer commented 9 months ago

Sorry it's the same as #272, that was closed automatically because I deleted the fork. Still not used to this github change.

ADRFranklin commented 9 months ago

Sorry about that, I didn't see the original PR.