takeControlOfFrontend
TAKE_CONTROL_OF_FRONTEND0xEC9264727EEC0F28The GTA V native TAKE_CONTROL_OF_FRONTEND of the HUD namespace, as LS:MP client scripts call it: the global function takeControlOfFrontend, in JavaScript and in Lua.
takeControlOfFrontend(): voidtakeControlOfFrontend()Usage
JavaScript
takeControlOfFrontend();Lua
takeControlOfFrontend()Parameters
None.
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Disables frontend (works in custom frontends, not sure about regular pause menu) navigation keys on keyboard. Not sure about controller. Does not disable mouse controls. No need to call this every tick.
To enable the keys again, use 0x14621BB1DF14E2B2.
Reference
- Namespace
- HUD HUD
- In the game
void TAKE_CONTROL_OF_FRONTEND()- Hash
0xEC9264727EEC0F28