We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c418ad + a7772dc commit 338d04dCopy full SHA for 338d04d
SDK/include/utils.hpp
@@ -21,6 +21,10 @@ inline bool IsWeaponForTakenDamageValid(int weapon)
21
auto slot = WeaponSlotData(weapon).slot();
22
if (slot == INVALID_WEAPON_SLOT)
23
{
24
+ // 52 is a valid damage reason, though not a valid death reason. It is given by the police boat gun.
25
+ //
26
+ // https://github.com/openmultiplayer/open.mp/issues/600#issuecomment-1377236916
27
28
if (weapon < 49 || weapon > 54)
29
30
return false;
0 commit comments