VehicleExtras
@vimp-mp/types 2.0.1Initial state applied when creating a server vehicle.
ts
interface VehicleExtrasMembers
bodyHealth
ts
bodyHealth?: numberInitial body health, clamped by runtime to 0-1000.
dimension
ts
dimension?: numberInitial virtual world (dimension). Default: 0.
dirtLevel
ts
dirtLevel?: numberInitial dirt level, clamped by runtime to 0-15.
engine
ts
engine?: booleanAlias for engineOn.
engineHealth
ts
engineHealth?: numberInitial engine health, clamped by runtime to -4000..1000.
engineOn
ts
engineOn?: booleanInitial engine state.
livery
ts
livery?: numberInitial livery index, clamped by runtime to -1..255.
locked
ts
locked?: booleanAlias for common locked/unlocked create options.
lockState
ts
lockState?: numberInitial door lock state, clamped by runtime to 0-10. Default: 1.
numberPlate
ts
numberPlate?: stringInitial number plate text, truncated by runtime to 8 characters.
numberPlateType
ts
numberPlateType?: numberInitial number plate style, clamped by runtime to 0-5.
primaryColor
ts
primaryColor?: numberInitial primary GTA paint id, clamped by runtime to 0-255.
secondaryColor
ts
secondaryColor?: numberInitial secondary GTA paint id, clamped by runtime to 0-255.