actionManagerEnableAction
ACTION_MANAGER_ENABLE_ACTION0xA6A12939F16D85BEThe GTA V native ACTION_MANAGER_ENABLE_ACTION of the MISC namespace, as LS:MP client scripts call it: the global function actionManagerEnableAction, in JavaScript and in Lua.
actionManagerEnableAction(hash: Hash, enable: boolean): voidactionManagerEnableAction(hash: Hash, enable: boolean)Usage
JavaScript
actionManagerEnableAction(hash, enable);Lua
actionManagerEnableAction(hash, enable)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
hash | Hash | number | integer |
enable | 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.
Appears to remove stealth kill action from memory
Reference
- Namespace
- Misc MISC
- In the game
void ACTION_MANAGER_ENABLE_ACTION(Hash hash, BOOL enable)- Hash
0xA6A12939F16D85BE- Formerly
_REMOVE_STEALTH_KILL