1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-07-09 19:36:36 +02:00
parent 7f26844507
commit a2990fe815
120 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,29 @@
-- headerClickMainFunction and headerClickShopFunction are test functions, you may need to edit them or delete them from config
function headerClickMainFunction()
--[[
-- Example
CloseInventory()
while IsNuiFocused() do Wait(100) end
exports["tgiann-esc"]:open() ]]
tgiCore.notif("I'm test button please edit me from client/topHeader.lua", 10000, "error")
end
function headerClickShopFunction()
--exports["tgiann-coinshop"]:openUi() -- Example
tgiCore.notif("I'm test button please edit me from client/topHeader.lua", 10000, "error")
end
function headerClickSettingsFunction()
CloseInventory()
while IsNuiFocused() do Wait(100) end
ActivateFrontendMenu(`FE_MENU_VERSION_LANDING_MENU`, 0, -1)
end
function headerClickCraftFunction()
TriggerEvent("tgiann-inventory:craft:openDefault")
end
RegisterNUICallback("headerClick", function(funcName, cb)
_G[funcName]()
cb("")
end)