getRoomKeyForGameViewport
GET_ROOM_KEY_FOR_GAME_VIEWPORT0xA6575914D2A0B450The GTA V native GET_ROOM_KEY_FOR_GAME_VIEWPORT of the INTERIOR namespace, as LS:MP client scripts call it: the global function getRoomKeyForGameViewport, in JavaScript and in Lua.
getRoomKeyForGameViewport(): HashgetRoomKeyForGameViewport(): HashUsage
JavaScript
const hash = getRoomKeyForGameViewport();Lua
local hash = getRoomKeyForGameViewport()Parameters
None.
Returns
Hash JavaScript number, Lua integerA game hash. Natives return it unsigned (0 to 4294967295), the value lsmp.hash gives. As an argument, the signed and unsigned forms of a hash are the same value.
Reference
- Namespace
- Interior INTERIOR
- In the game
Hash GET_ROOM_KEY_FOR_GAME_VIEWPORT()- Hash
0xA6575914D2A0B450- Formerly
_GET_ROOM_KEY_FROM_GAMEPLAY_CAM