Exports/Events
exports["sc_garagesv2"]:inGarageZone()
-- This export returns a boolean:
-- true if the player is currently inside a garage zone,
-- false if the player is not inside any garage zone.exports["sc_garagesv2"]:getCurrentZoneType()
-- This exported function returns the type of the current zone the player is in.
-- - Returns a string representing the zone type (e.g., "garage", "boat", "plane", etc.) if the player is inside a defined zone.
-- - Returns `nil` if the player is not inside any defined zone.
exports["sc_garagesv2"]:getCurrentZoneName()
-- This exported function returns the type of the current zone the player is in.
-- - Returns a string representing the zone type (e.g., "garage", "boat", "plane", etc.) if the player is inside a defined zone.
-- - Returns `nil` if the player is not inside any defined zone.exports["sc_garagesv2"]:getVehiclesData()
-- This exported function returns all vehicles data owned by the player.
-- a table or list of vehicles associated with the player's ownership.
-- The returned data includes details about each vehicle the player owns.
Last updated