NextScripts
  • NextScripts Documentation
  • ESX Scripts
    • ✅Garage System
      • Installation
      • SQL
      • Configuration
        • Main Config
        • Blips Config
        • Commands Config
        • Zones Config
      • Events & Exports
        • Client
          • Deformation
          • getExtraData - Export
          • SpawnVehicle - Export
          • StoreVehicle - Export
          • isInAnyMarker - Export
          • impound - Export
          • pdimpound - Export
        • Server
          • Deformation
      • Commands
    • 🛠️Engine System
      • Installation
      • Configuration
      • Events & Exports
        • Client
        • Server
    • 🛠️Vehicle Lock
Powered by GitBook
On this page
  • Return Values
  • Example Usage
  1. ESX Scripts
  2. Garage System
  3. Events & Exports
  4. Client

getExtraData - Export

Return Values

Key
Value

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)
PreviousDeformationNextSpawnVehicle - Export

Last updated 1 year ago

✅