a library to speed up the development of Fivem scripts and frameworks
fivem-ts - Documentation v0.7.5 • Docs
fivem-ts - Documentation v0.7.5 / Shared / VehicleLockState
Enum for representing the state of a vehicle’s lock.
None (0): The vehicle is in an undefined lock state.Unlocked (1): The vehicle is unlocked and can be entered by anyone.Locked (2): The vehicle is locked and cannot be entered or started.LockoutPlayerOnly (3): The vehicle is locked, restricting only the player.LockedPlayerInside (4): The player is locked inside the vehicle.InitiallyLocked (5): The vehicle starts in a locked state.ForceShutDoors (6): The vehicle’s doors are forcefully shut.LockedCanBeDamaged (7): The vehicle is locked but can be damaged.LockedWithBootUnlocked (8): The vehicle is locked, but the boot is unlocked.LockedWithNoPassengers (9): The vehicle is locked and all passengers must exit.LockedCannotEnter (10): The vehicle is locked and cannot be entered.@enum{number}
ForceShutDoors:
6
shared/enums/VehicleLockState.ts:25
InitiallyLocked:
5
shared/enums/VehicleLockState.ts:24
Locked:
2
shared/enums/VehicleLockState.ts:21
LockedCanBeDamaged:
7
shared/enums/VehicleLockState.ts:26
LockedCannotEnter:
10
shared/enums/VehicleLockState.ts:29
LockedPlayerInside:
4
shared/enums/VehicleLockState.ts:23
LockedWithBootUnlocked:
8
shared/enums/VehicleLockState.ts:27
LockedWithNoPassengers:
9
shared/enums/VehicleLockState.ts:28
LockoutPlayerOnly:
3
shared/enums/VehicleLockState.ts:22
None:
0
shared/enums/VehicleLockState.ts:19
Unlocked:
1