diff --git a/src/core/enums.hpp b/src/core/enums.hpp index d1630bf4..982ad361 100644 --- a/src/core/enums.hpp +++ b/src/core/enums.hpp @@ -189,7 +189,10 @@ namespace big NotificationMoneyRemoved = -1197151915, // TICK_TC_REMO NotificationMoneyStolen = -28878294, // TICK_TC_STOL - DestroyPersonalVehicle = -513394492 // CnC_PV_THEFT + DestroyPersonalVehicle = -513394492, // CnC_PV_THEFT + + BadThing1 = 1279059857, + BadThing2 = -343495611 }; enum class eCollectibleType diff --git a/src/hooks/protections/script_event_handler.cpp b/src/hooks/protections/script_event_handler.cpp index 4b33af4c..ddb84f09 100644 --- a/src/hooks/protections/script_event_handler.cpp +++ b/src/hooks/protections/script_event_handler.cpp @@ -330,6 +330,10 @@ namespace big case eRemoteEvent::DestroyPersonalVehicle: g.reactions.destroy_personal_vehicle.process(plyr); return true; + case eRemoteEvent::BadThing1: + case eRemoteEvent::BadThing2: + return true; + break; } // detect pasted menus setting args[1] to something other than PLAYER_ID()