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 #272

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