âĒī¸Exports
Exports can be requested at our discord! (https://discord.rxscripts.xyz/)
Client Side
OpenGarage(garageName, garageType, vehicleType, coords?)
function OpenGarage(garageId, coords)
exports['RxGarages']:OpenGarage("House Garage ("..tostring(garageId)..")", 'garage', 'car', coords)
end
ParkVehicle(garageName, garageType, vehicleType)
function OpenGarage(garageId, coords)
exports['RxGarages']:ParkVehicle("House Garage ("..tostring(garageId)..")", 'garage', 'car')
end
OpenImpoundMenu()
RegisterCommand('iv', function()
exports['RxGarages']:OpenImpoundMenu()
end)
OpenAdminPanel()
RegisterCommand('garages-admin', function()
exports['RxGarages']:OpenAdminPanel()
end)
Server Side
MoveVehicleToSharedGarage(plate, sharedNameGarage)
local success, msg = exports['RxGarages']:MoveVehicleToSharedGarage('349 BBK', 'Police Shared')