You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Client/mods/deathmatch/logic/CClientPed.h
+1
Original file line number
Diff line number
Diff line change
@@ -787,6 +787,7 @@ class CClientPed : public CClientStreamElement, public CAntiCheatModule
787
787
bool m_bNoNewVehicleTask; // When set, we are not allowed to initiate a new enter/exit task because we are waiting for server reply
788
788
ElementID m_NoNewVehicleTaskReasonID; // ElementID of the vehicle that we are waiting on
789
789
CClientPed* m_pGettingJackedBy; // The ped that is jacking us
790
+
bool m_vehicleWithoutPairAllowed{false}; // Means that a ped can be in a vehicle (temporarily) without being paired with it. This is used in CClientPed::Kill and SetInternalHealth
0 commit comments