Don't abort veh entry when locked (bugs out the player)
This commit is contained in:
@@ -167,8 +167,8 @@ function onPedEnteringVehicle(event, ped, vehicle, seat) {
|
|||||||
messagePlayerNormal(client, `🔒 This ${getVehicleName(vehicle)} is locked and you don't have the keys to unlock it`);
|
messagePlayerNormal(client, `🔒 This ${getVehicleName(vehicle)} is locked and you don't have the keys to unlock it`);
|
||||||
}
|
}
|
||||||
|
|
||||||
getPlayerData(client).enteringVehicle = null;
|
//getPlayerData(client).enteringVehicle = null;
|
||||||
makePlayerStopAnimation(client);
|
//makePlayerStopAnimation(client);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user