Quasar Store Logo

Commands & Exports

This section lists all available commands, exports, and events included in the script. You’ll find client-side, server-side, and shared functions designed to help developers integrate, extend, or interact with the system easily within their own scripts or frameworks.

Commands

This section lists all available commands included in the script. Each command is designed to simplify administration, player interaction, or debugging tasks. You’ll find detailed descriptions, usage examples, and permission requirements to help you manage and customize your server efficiently.

CommandDescription
/ApartmentLocationDefines interaction points inside the van, such as stash, wardrobe, or charger.
/ApartmentDecorationCommand or configuration for customizing the van's appearance or decorations.
/ApartmentSelect your first apartment.





Client Exports

This section provides all available client exports for the script. These functions allow you to interact directly with the system from the client side, enabling custom features, UI interactions, and integrations with other resources. Each export includes a short description and usage example for easy implementation.

inDecorate

InApartment

GetApartments

The GetApartments export allows you to retrieve the full list of configured apartments programmatically. This can be useful for displaying available apartments, handling property data, or integrating with other systems.



local apartments = exports['qs-apartments']:GetApartments() if apartments then print("Apartments retrieved successfully!") for name, data in pairs(apartments) do print("Apartment Name: " .. name) print("Location: " .. data.label) print("Price: $" .. data.price) end else print("No apartments found.") end

This function is ideal for custom menus, listings, or integration with other scripts to manage housing dynamically.