Handling
Exports
Server Exports
vehiclePlateUpdated
Tells JG Handling that a vehicle's plate has changed. Call this after your script has successfully updated the plate in its main vehicle table.
Plate-specific handling is moved to the new plate. Model-wide handling is stored under * and isn't changed. If the old plate has stored handling, any handling already stored against the new plate is replaced.
-- server only
-- oldPlate: string - the previous plate
-- newPlate: string - the new plate
local success = exports["jg-handling"]:vehiclePlateUpdated(oldPlate, newPlate)| Returns | Type | Description |
|---|---|---|
success | boolean | true when the change was accepted, or false for an invalid plate |
| Parameter | Type | Required | Description |
|---|---|---|---|
oldPlate | string | Yes | The plate before your script changed it |
newPlate | string | Yes | The plate after your script changed it |
Client events
These events open and close the handling tools. Access checks still apply.
-- client only
TriggerEvent("jg-handling:client:open-editor") -- opens the handling editor
TriggerEvent("jg-handling:client:open-timing-tool") -- opens the timing tool
TriggerEvent("jg-handling:client:close-timing-tool") -- closes the timing toolLast updated 3 August 2026