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 027d01a commit 372b1e5Copy full SHA for 372b1e5
Server/mods/deathmatch/logic/CGame.cpp
@@ -2973,7 +2973,7 @@ void CGame::Packet_Vehicle_InOut(CVehicleInOutPacket& Packet)
2973
// Grab the ped with the chosen ID
2974
ElementID PedID = Packet.GetPedID();
2975
CElement* pPedElement = CElementIDs::GetElement(PedID);
2976
- if (pPedElement && IS_PED(pPedElement))
+ if (pPedElement && IS_PED(pPedElement) && (pPedElement == pPlayer || !IS_PLAYER(pPedElement)))
2977
{
2978
CPed* pPed = static_cast<CPed*>(pPedElement);
2979
bool bValidPed = false;
0 commit comments