Exports
This is a simple guide for how to use the JustGarages exports for your custom actions
Client Exports
GetVehicleProperties
-- vehicle: string|number - entity network id
exports.JustGarages:GetVehicleProperties(vehicle)
-- Example
local vehicle = GetVehiclePedIsIn(PlayerPedId())
exports.JustGarages:GetVehicleProperties(vehicle) -- return : tableServer Exports
IsPlateTaken
-- plates: string|number - vehicle plates
exports.JustGarages:IsPlateTaken(plates)
-- Example
local plates = "JUSTSCRIPTS"
exports.JustGarages:IsPlateTaken(plates) -- return : bool (true/false)CreateGarageVehicle
Last updated