SleepyCode
Home
AboutBlogSubscriptionDocs
Cart0
SleepyCode
Cart0
  • πŸ’£Documentation

Scripts

  • Multicharacter
  • DevTool
  • Fishing
  • πŸ—ƒοΈGarages V2
  • 🚌Bus Job
  • πŸš—Vehicle Shop V1
  • πŸ—ƒοΈGarages V1
    • Installation
    • Config File
    • Notification Translations
    • UI Translations
    • Vehicle Classes
    • Exports and Events
    • Showroom
    • Commands
  • 🍁Selldrugs
  • πŸŽ…Advent Calendar
  1. Docs
  2. /Garages V1
  3. /Exports and Events

Garages V1

Exports and Events

Available Garages V1 exports and events for FiveM ESX integrations and custom scripts.

On this page9 sections
  • Check if the player is in a garage zone
  • Get the current zone type
  • Get the current zone name
  • Get the player's vehicle data
  • Get showroom vehicles
  • Open the garage menu
  • Open the impound menu
  • Open the boat garage menu
  • Open the plane garage menu

Use these exports and events to integrate the garage system with other scripts.

Check if the player is in a garage zoneLink copied

Lua
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.

Get the current zone typeLink copied

Lua
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.

Get the current zone nameLink copied

Lua
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.

Get the player's vehicle dataLink copied

Lua
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.

Get showroom vehiclesLink copied

Lua
exports["sc_garagesv2"]:getShowRoomVehicles()-- This exported function returns all vehicles currently in the showroom.-- a list or table of vehicles available in the showroom.-- The data includes details about each showroom vehicle.

Open the garage menuLink copied

Lua
TriggerEvent("venergu:openGarage")-- Triggers the garage menu for the player, allowing them to view and retrieve their stored vehicles.

Open the impound menuLink copied

Lua
TriggerEvent("venergu:openImpound")-- Triggers the impound menu for the player, displaying a list of impounded vehicles available for recovery.

Open the boat garage menuLink copied

Lua
TriggerEvent("venergu:openBoatGarage")-- Opens the boat garage menu, showing the player their stored boats.

Open the plane garage menuLink copied

Lua
TriggerEvent("venergu:openPlaneGarage")-- Opens the plane garage menu, showing the player their stored planes.
← PreviousVehicle ClassesGarages V1Next β†’ShowroomGarages V1

On this page

  • Check if the player is in a garage zone
  • Get the current zone type
  • Get the current zone name
  • Get the player's vehicle data
  • Get showroom vehicles
  • Open the garage menu
  • Open the impound menu
  • Open the boat garage menu
  • Open the plane garage menu
↑ Back to top
Ready when you are

Put your server on something that holds up

150+ servers run our resources - ESX, QBCore and standalone. Once the payment clears, the package is waiting in Keymaster.

Browse the catalogueAsk on Discord β†—
  • Delivered instantly
  • Support with no expiry
  • 100+ reviews
  • Payment via Tebex

SleepyCode

FiveM Scripts

Checkout is run by Tebex Limited- they handle payment, invoicing and refunds. Β© 2026

Community

  • Discord
  • YouTube
  • X (Twitter)

Navigation

  • Home
  • All Scripts
  • ESX Scripts
  • QBCore Scripts
  • Free Scripts
  • About
  • Blog
  • Documentation
  • Support

Legal

  • Privacy Policy
  • Tebex Privacy Policy
  • Terms of Service
  • Impressum

Β© 2026 SleepyCode. Not affiliated with Rockstar Games or Take-Two Interactive.

Powered byTebex