Preview
BUY [ESX / ESX Legacy / QBCore]
This resource allows your players to quickly navigate through the main menu. Simplify menu finding for new players. All important menu and data in one place.
You have 14 different buttons to assign different things to. These are very easy to set via the config.
You can put a trigger there, a command or a notification.
There is also a field where you can find some player information, such as name, phone number and money.
The script currently uses ESX or QBCore for the player information. If you need another framework you are welcome to write
Some things are still planned for the future
FUNCTIONS
-14 Easy to configure buttons / TriggerEvent, Command or Notification
-The buttons are PNG images so they are easy to change for people who don’t know CSS. Just upload the desired image with the same name of the already existing image and it will be displayed.
-Shows player infotmations
CONFIG
Config = {}
Config.OpenKey = 244 --Key to open the menu
------------------------------------------------------------------------
--Information--
-- ESX.ShowNotification("Message") -Shows an ESX notification
-- TriggerEvent('EventName') - Trigger a Event
-- ExecuteCommand("COMMAND") - Executes a command
------------------------------------------------------------------------
--Open menu-setup.png to see which number is which button.
--You can change the images here /ui/images
------------------------------------------------------------------------
--1-- PetMenu
function pet()
TriggerEvent("od_animal:OpenPetMenu") -- Write the trigger event - ExecuteCommand or Notification here
end
--2-- Shop
function opendonate()
TriggerEvent("doge_store:openDoges") -- Write the trigger event - ExecuteCommand or Notification here
end
--3-- Info
function openinfo()
ESX.ShowNotification("Coming soon") -- Write the trigger event - ExecuteCommand or Notification here
end
--4-- Battlepass
function openBattlepass()
ESX.ShowNotification("Coming soon") -- Write the trigger event - ExecuteCommand or Notification here
end
--5-- Crafting
function openCraftingMenu()
ESX.ShowNotification("Coming soon") --Write the trigger event - ExecuteCommand or Notification here
end
--6-- Bills
function openBillsMenu()
TriggerEvent("esx_billing:showBilling") --Write the trigger event - ExecuteCommand or Notification here
end
--7-- Animations
function openanimations()
ExecuteCommand("emotePanel") -- Write the trigger event - ExecuteCommand or Notification here
end
--8- Phone
function openphone()
TriggerEvent("gcphone:TooglePhone") -- Write the trigger event - ExecuteCommand or Notification here
end
--9-- Inventroy
function openInventory()
TriggerEvent('esx_inventoryhud:openInventory') -- Write the trigger event - ExecuteCommand or Notification here
end
--10-- Report
function opencase()
ESX.ShowNotification("Coming soon") -- Write the trigger event - ExecuteCommand or Notification here
end
--11-- Computer
function opencomputer()
ESX.ShowNotification("Coming soon") -- Write the trigger event - ExecuteCommand or Notification here
end
--12-- Clothes
function openclothes()
ESX.ShowNotification("Coming soon") -- Write the trigger event - ExecuteCommand or Notification here
end
--13-- Key GUIDE
function openInstructions()
TriggerEvent("s1lent_keybinds:openUI") -- Write the trigger event - ExecuteCommand or Notification here
end
--14-- Commands
function commands()
TriggerEvent("s1lent_keybinds:openUI") -- Write the trigger event - ExecuteCommand or Notification here
end
|-------------------------------------|----------------------------|
| Code is accessible | No - Only Config & Design Settings |
| Subscription-based | No |
| Lines (approximately) | 4500 |
| Requirements | ESX/QBCore & oxmysql |
| Support | Yes |