initPcScriptedControls
INIT_PC_SCRIPTED_CONTROLS0x3D42B92563939375The GTA V native INIT_PC_SCRIPTED_CONTROLS of the PAD namespace, as LS:MP client scripts call it: the global function initPcScriptedControls, in JavaScript and in Lua.
initPcScriptedControls(schemeName: string): booleaninitPcScriptedControls(schemeName: string): boolean✕
Blocked for scripts: Shared menus and input
LS:MP manages the shared frontend, text-entry dialog and input layout. Use the LS:MP page and input APIs for resource UI.
Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.
Reference
- Namespace
- Controls PAD
- In the game
BOOL INIT_PC_SCRIPTED_CONTROLS(const char* schemeName)- Hash
0x3D42B92563939375- Formerly
_SWITCH_TO_INPUT_MAPPING_SCHEME