Client-side
List of client-side exports.
isInGarageZone
exports['op-garages']:isInGarageZone()Return boolean value
Example Usage:
RegisterCommand('isingaragezone', function()
local isInGarageZone = exports['op-garages']:isInGarageZone()
print(isInGarageZone)
end)openGarageIfInZone
exports['op-garages']:openGarageIfInZone()Open garage if player is inside zone of some garage.
This is useful if you want to integrate radial menu into the script.
Example Usage:
RegisterCommand('openisingaragezone', function()
local isInGarageZone = exports['op-garages']:isInGarageZone()
if isInGarageZone then
exports['op-garages']:openGarageIfInZone()
end
end)OpenGarageHere
This event will Open Garage or Hide and Save Current player Vehicle.
coords:
vec4disablePreview:
boolean
Example Usage:
Last updated