This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local storedLocation, storedHeading -- define variables for future use | |
| local isMenuOpen | |
| function SetLocationKB() | |
| storedLocation=GetEntityCoords(GetPlayerPed(-1)) | |
| storedHeading=GetEntityHeading(GetPlayerPed(-1)) | |
| ShowNotification("New location set") | |
| end | |
| function RestoreLocationKB() | |
| if not storedLocation then |