JG Docs
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)
ReturnsTypeDescription
successbooleantrue when the change was accepted, or false for an invalid plate
ParameterTypeRequiredDescription
oldPlatestringYesThe plate before your script changed it
newPlatestringYesThe 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 tool

Last updated 3 August 2026

On this page