Exports and Integration
Events for use in other scripts
π¦ Open Store Menu Exposes two different ways to open a specific store menu, depending on whether you're calling it from the server or another client script. Useful when integrating with external scripts that need to trigger store access, such as missions, zones, or job-specific menus.
πΉ From the Server (Using a Trigger)
πΉ From Another Client Script (Using an Export)
π The first store defined inside your Config.Stores = { ... }
in shared/config.lua
is considered store number 1, the second is number 2, and so on.
π Note: You'll need to manually identify the correct store number based on its position in the Config.Stores
list.
π¦ Open Wardrobe Export to open the wardrobe UI from another script, such as apartments or motel systems.
πΉ From Another Client Script (Using an Export)
π Opens the wardrobe directly for the current player. Make sure it's triggered under the right context (e.g. inside a property, near a closet, etc.).
Last updated