oscar-broman / samp-weapon-config

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

Advanced foreach support #223

Closed NexiusTailer closed 2 years ago

NexiusTailer commented 2 years ago

Like the previous PR (#221), but in an alternative way to detect both YSI/all non-YSI foreach releases checking for "_Y_ITERATE_LOCAL_VERSION" and "_FOREACH_LOCAL_VERSION" definitions.

P.s. Minor fix with WEAPON_COLLISION instead of the remaining raw weapon IDs.