really thank you for your work may i ask for help
for example i wanna open this script with pressing key (f5)
and then should i put this at menu .lua?
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if group ~= nil print(group) end
if IsControlJustReleased(1, 166) then --WHEN YOU PRESS F5
if group ~= nil and group ~= "user" then
OpenTpMenu()
end
end
end ( i know it is wrong but how can open your menu with pressing key)
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
_menuPool:ProcessMenus()
--[[ The "F5" button will activate the menu ]]
if IsControlJustPressed(1, 166) then
mainMenu:Visible(not mainMenu:Visible())
end
end
end)
For some reason, it does not work correctly for me when I enter this text. It opens the menu but doesn’t let you select down arrows. Jumps to the beginning of the selection. Here’s a video:
This menu is not functioning as it should. With some configurations:
1. when You go up and down within the menu on controller the up is down & down is up 2. If for example you go to category VARIOUS It will immediately teleport you to the first Sub Item from the category.
Im no Pro coder but I get by. Knowing this is not correct, I have no idea why its doing this.
Its a shame as it would be good
If anyone knows of a simple teleport menu using NativeUI please let us know, been searching but nothing that is just teleport Menu
This menu has been released for over than two years and this is the first time a problem like this is reported. I would love to fix it up since it was a menu made when I was just starting to code. Please send me a more detailed report with the issues in private and I will get to work🙃
I got this working with some custom code, I would also like to know if we can actually have a option to spawn with vehicle please, i tried to find a way but couldn’t get it to work with vehicle.
I am sure there must be an easy way to allow teleport with vehicle?