ACTION_MANAGER_IS_ACTION_ENABLED
Hash
0xFD0759658268FD8ERuntime name
ActionManagerIsActionEnabledNamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL ACTION_MANAGER_IS_ACTION_ENABLED(Hash hash);Parameters
| Name | Type | Description |
|---|---|---|
hash | Hash | — |
Returns BOOL
Usage
local retval = ActionManagerIsActionEnabled(hash)
-- always works, by hash
local retval = Citizen.InvokeNative(0xFD0759658268FD8E, hash, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = ActionManagerIsActionEnabled(hash);
// by hash
const retval = Citizen.invokeNative('0xFD0759658268FD8E', hash, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xFD0759658268FD8E, hash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.