getExtraData - Export

Return Values

KeyValue

engineHealth

default = 1000.0, min: 0.0, max: 1000.0

bodyHealth

default = 1000.0, min: 0.0, max: 1000.0

tankHealth

default = 1000.0, min: 0.0, max: 1000.0

deformation

Its return an Array with Vector3

fuelLevel

default = 100.0, store the fuel of a Veh

wheelHealth

store state of every wheel from 0 to 7

tyreBurst

store state of every tire from 0 to 7

doorHealth

store door state from 0 to 5

Example Usage

local extraData = exports['ns_garagesystem']:getExtraData(vehicle)

Last updated