Vehicle Data

A vehicle data object holds information about a vehicle and can be obtained through the getData() method on a vehicle object.

List of methods available for vehicle data:

  • getInGameID()
    • Returns: Integer
  • getID()
  • getColor()
    • Returns: Table
  • getPalete0()
    • Returns: Table
  • getPalete1()
    • Returns: Table
  • getPlate()
    • Returns: String
  • getName()
    • Returns: String
  • getOwner()
  • getPartsConfig()
    • Returns: String (JSON)