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.
1 parent 384b8e3 commit a7772dcCopy full SHA for a7772dc
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