Exports
Client Exports
GetVehicleStatus
Retrieves a table of the extra damage components and status variables eg, harness
Example Usage:
SetVehicleStatus
Can be used to alter vehicle status variables, eg toggling harness on a vehicle or repairing extra damages
Example Usage:
DamageRandomComponent
This triggers the same event called when crashing a vehicle, picking a random part to damage
Example Usage:
HasHarness
Retrieves if the user currently has a harness buckled while in a car
Example Usage:
seatBeltOn
Retrieves if the user currently has a seatbelt buckled while in a car
Example Usage:
GetNosLevel
Retrieves the current Nos status of a vehicle
Example Usage:
GetInPreview
When a player uses /preview
or /previewrgb
this toggles a variable to stop users doing anything else to it leading to exploits, this can be called outside of the script to stop other scripts from allowing exploits during this process
Example Usage
updateVehicle
Simply, complies the vehicle status table to save it to the database on command
Example Usage
GetMilage
Example Usage
This retreives the raw value of the milage from the database
IsVehicleOwned
Example Usage:
Checks the database for if the plate is attached to an owned vehicle
Server Exports
GetMilage
Example Usage
This retreives the raw value of the milage from the database
IsVehicleOwned
Example Usage:
Checks the database for if the plate is attached to an owned vehicle
Last updated