Tebex [2,30€]: https://www.msk-scripts.de
Description
- Set Groups who can open this menu
- Set default coords in config.lua
- Every Player can save own coords for themself [saved in database]
Preview
Config
Code
Config = {}
----------------------------------------------------------------
Config.Debug = true
Config.Locale = 'de'
Config.VersionChecker = true
Config.getSharedObject = 'esx:getSharedObject'
----------------------------------------------------------------
Config.ESX = 'legacy' -- Set to '1.1' or legacy // 'legacy' is recommended
Config.Command = 'openAdminMenu' -- Command to open the NativeUI
Config.Ranks = {'superadmin', 'admin'} -- Groups that can use the Command
Config.DefaultCoords = {
{rank = 'superadmin', name = 'Test 1', coords = {x = -2098.43, y = 2868.7, z = 32.81}},
{rank = 'superadmin', name = 'Test 2', coords = {x = -2133.47, y = 2885.41, z = 32.81}},
}
-- Export um das Menu durch ein anderes Menü zu öffnen:
-- exports["msk_saveCoordMenu"]:openSaveCoordMenu()
Alles anzeigen
Requirements
- ESX 1.1 and all above [recommended to use ESX 1.2 or ESX Legacy]
- mysql-async or oxmysql
- NativeUI