diff --git a/src/hooks/protections/received_event.cpp b/src/hooks/protections/received_event.cpp index aea5d61b..329ba67d 100644 --- a/src/hooks/protections/received_event.cpp +++ b/src/hooks/protections/received_event.cpp @@ -27,7 +27,7 @@ namespace big static bool is_valid_weapon(rage::joaat_t hash) { - if ("WEAPON_TRANQUILIZER"_J == weaponType) + if ("WEAPON_TRANQUILIZER"_J == hash) { return false; }