Don't abort veh entry when locked (bugs out the player)

This commit is contained in:
Vortrex
2022-04-30 13:19:45 -05:00
parent 63f25f99bd
commit 9755f3d448

View File

@@ -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`);
}
getPlayerData(client).enteringVehicle = null;
makePlayerStopAnimation(client);
//getPlayerData(client).enteringVehicle = null;
//makePlayerStopAnimation(client);
return false;
}