getPauseMenuPosition
GET_PAUSE_MENU_POSITION0x5BFF36D6ED83E0AEThe GTA V native GET_PAUSE_MENU_POSITION of the HUD namespace, as LS:MP client scripts call it: the global function getPauseMenuPosition, in JavaScript and in Lua.
getPauseMenuPosition(): { x: number, y: number, z: number }getPauseMenuPosition(): Vector3Usage
JavaScript
const { x, y, z } = getPauseMenuPosition();Lua
local coords = getPauseMenuPosition()
-- coords.x, coords.y, coords.zParameters
None.
Returns
Vector3 JavaScript { x: number, y: number, z: number }, Lua Vector3A 3D vector. JavaScript gets a plain { x, y, z } object; Lua gets a real Vector3, with .x .y .z and arithmetic. As an argument, one vector fills three consecutive coordinates.
Reference
- Namespace
- HUD HUD
- In the game
Vector3 GET_PAUSE_MENU_POSITION()- Hash
0x5BFF36D6ED83E0AE