Client
These vehicle properties are taken from overextended/ox_lib
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 idprops
- the properties to set onto the given vehiclefixVehicle
- sets whether or not the vehicle must be fixed after props have been set. Usually required when adding extras.
Last updated