Garage
In order to garage to work, you need to set the garage actions from this section.
Examples
Config.Garage = {
Open = function(address, spawnPoint)
TriggerEvent("garage:open", address, spawnPoint.coords, spawnPoint.h)
end,
OnEnter = function(address, spawnPoint)
TriggerEvent("garage:setCurrent", {
name = address,
spawnpoints = {spawnPoint}
})
end,
OnExit = function(address, spawnPoint)
TriggerEvent("garage:setCurrent", nil)
end
}
Last updated