If you decide to not use the teleport the menu remains open untill you bring the mouse pointer up and hit ESC. This way the menu will close as soon as you exit the polyzone that brought the menu up.
Questions:
Have you personally loaded this code into an updated qbcore project and checked all it's functionality? yes
If you decide to not use the teleport the menu remains open untill you bring the mouse pointer up and hit ESC. This way the menu will close as soon as you exit the polyzone that brought the menu up.
Questions: