hudShowingCharacterSwitchSelection
HUD_SHOWING_CHARACTER_SWITCH_SELECTION0x14C9FDCC41F81F63The GTA V native HUD_SHOWING_CHARACTER_SWITCH_SELECTION of the HUD namespace, as LS:MP client scripts call it: the global function hudShowingCharacterSwitchSelection, in JavaScript and in Lua.
hudShowingCharacterSwitchSelection(toggle: boolean): voidhudShowingCharacterSwitchSelection(toggle: boolean)Usage
JavaScript
hudShowingCharacterSwitchSelection(toggle);Lua
hudShowingCharacterSwitchSelection(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
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.
Sets a global that disables many weapon input tasks (shooting, aiming, etc.). Does not work with vehicle weapons, only used in selector.ysc
Reference
- Namespace
- HUD HUD
- In the game
void HUD_SHOWING_CHARACTER_SWITCH_SELECTION(BOOL toggle)- Hash
0x14C9FDCC41F81F63- Formerly
_HUD_WEAPON_WHEEL_IGNORE_CONTROL_INPUT