Client

GetVehicleProperties

Function to get a vehicle's properties

function HRLib.GetVehicleProperties(vehicle: integer): HRLibVehicleProperties?

Parameters description

  • vehicle - the vehicle's id

SetVehicleProperties

Function to set given vehicle properties to vehicle

function HRLib.SetVehicleProperties(
    vehicle: integer,
    props: HRLibVehicleProperties,
    fixVehicle: boolean?
)

Parameters description

  • vehicle - the vehicle's id

  • props - the properties to set onto the given vehicle

  • fixVehicle - sets whether or not the vehicle must be fixed after props have been set. Usually required when adding extras.

Last updated