Applications
File Path: shared/config.apps.lua
Example Application
name (string):
The display name of the applicationicon (string):
The id of the used SVG icon. Future custom apps won't support SVG's, but just normal images.page? (string):
The route that will be navigated when the app is clicked.nuicallback? (string):
The NUI Callback that will be executed when the app is clicked.ui? (string):
The UI URL that will be rendered from an outside resource when the app is clicked.itemNeeded (string/boolean):
The item that the player needs to open the app or false if no item is requiredisDisabled (boolean):
Whether or not the app is disabled (Will appear as "??????" in apps section with a lock icon)id (number):
The id that the app is identified and sorted by.canInteract (function)
: Should return true or false whether the player can open the app or not. This can be used for any other restrictions you might need.
Last updated