MiscClient

actionManagerEnableAction

ACTION_MANAGER_ENABLE_ACTION0xA6A12939F16D85BE

The 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.

SignatureJavaScript
actionManagerEnableAction(hash: Hash, enable: boolean): void
SignatureLua
actionManagerEnableAction(hash: Hash, enable: boolean)

Usage

JavaScript
actionManagerEnableAction(hash, enable);
Lua
actionManagerEnableAction(hash, enable)

Parameters

ParameterTypeJavaScriptLua
hashHashnumberinteger
enableBOOLbooleanboolean

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

Open in the interactive natives reference