RedM Natives

ACTION_MANAGER_IS_ACTION_ENABLED

Hash0xFD0759658268FD8E
Runtime nameActionManagerIsActionEnabled
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL ACTION_MANAGER_IS_ACTION_ENABLED(Hash hash);

Parameters

NameTypeDescription
hashHash—

Returns BOOL

Usage

Lua
local retval = ActionManagerIsActionEnabled(hash)

-- always works, by hash
local retval = Citizen.InvokeNative(0xFD0759658268FD8E, hash, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = ActionManagerIsActionEnabled(hash);

// by hash
const retval = Citizen.invokeNative('0xFD0759658268FD8E', hash, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xFD0759658268FD8E, hash);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.