Server-side
Server side exports for OP GARAGES V2
addTempPrivateGarage
exports['op-garages']:addTempPrivateGarage(Label, Type, Coords, Radius, PrivatePlayersList)Example Usage:
local Coords = {
CenterOfZone = vec4(-1796.2642, 398.0186, 110.9659, 161.2089),
AccessPoint = vec4(0.0, 0.0, 0.0, 0.0) -- Leave 0.0 if it's 'car' garage.
}
local PrivatePlayersList = {
{
id = "char1:7e0ec7b80d186fd8c29f6631e4377e75812fe8fd",
name = ""
}
}
local garageId = exports['op-garages']:addTempPrivateGarage("Bagieta Garage", "car", Coords, 15, PrivatePlayersList)removeTempPrivateGarage
Example Usage:
addTempGangGarage
Example Usage:
removeTempGangGarage
Example Usage:
getAllGarages
Example Returned Data:
getGarageByIndex
Example Usage:
Example returned Data:
getAllImpounds
Example Returned Data:
getImpoundByIndex
Example Usage:
Example returned Data:
getVehiclesLabels
Example returned Data:
getVehicleLabelByModel
Example Usage:
Example returned Data:
Last updated