Exports · origen_vehiclehandling
All exports are registered under the resource name origen_vehiclehandling.
Client-side exports
openManagement()
Opens the handling management panel for the current player. The server validates permissions before the UI is displayed — if the player does not have access, the call is silently ignored.
lua
exports['origen_vehiclehandling']:openManagement()If the player is currently driving a vehicle that has a saved handling entry, that entry will be pre-selected in the panel when it opens.
Example — open from an ox_target interaction:
lua
exports['ox_target']:addBoxZone({
coords = vector3(100.0, 200.0, 30.0),
size = vector3(1.0, 1.0, 2.0),
options = {
{
label = 'Vehicle Handling',
onSelect = function()
exports['origen_vehiclehandling']:openManagement()
end,
}
}
})Example — open from a keybind:
lua
RegisterCommand('openHandling', function()
exports['origen_vehiclehandling']:openManagement()
end, false)
RegisterKeyMapping('openHandling', 'Open Vehicle Handling', 'keyboard', 'F4')