Skip to content

VehicleExtras ​

@vimp-mp/types 2.0.1

Interface · Server API

Initial state applied when creating a server vehicle.

ts
interface VehicleExtras

Members ​

bodyHealth ​

ts
bodyHealth?: number

Initial body health, clamped by runtime to 0-1000.

dimension ​

ts
dimension?: number

Initial virtual world (dimension). Default: 0.

dirtLevel ​

ts
dirtLevel?: number

Initial dirt level, clamped by runtime to 0-15.

engine ​

ts
engine?: boolean

Alias for engineOn.

engineHealth ​

ts
engineHealth?: number

Initial engine health, clamped by runtime to -4000..1000.

engineOn ​

ts
engineOn?: boolean

Initial engine state.

livery ​

ts
livery?: number

Initial livery index, clamped by runtime to -1..255.

locked ​

ts
locked?: boolean

Alias for common locked/unlocked create options.

lockState ​

ts
lockState?: number

Initial door lock state, clamped by runtime to 0-10. Default: 1.

numberPlate ​

ts
numberPlate?: string

Initial number plate text, truncated by runtime to 8 characters.

numberPlateType ​

ts
numberPlateType?: number

Initial number plate style, clamped by runtime to 0-5.

primaryColor ​

ts
primaryColor?: number

Initial primary GTA paint id, clamped by runtime to 0-255.

secondaryColor ​

ts
secondaryColor?: number

Initial secondary GTA paint id, clamped by runtime to 0-255.

VIMP developer documentation