RedM Natives

IS_ACE_ALLOWED

Hash0x7EBB9929
Runtime nameIsAceAllowed
NamespaceCFX
SideClient + server
NameOfficial
Docs

Signature

BOOL IS_ACE_ALLOWED(char* object);

Parameters

NameTypeDescription
objectchar*—

Returns BOOL

Usage

Lua
local retval = IsAceAllowed(object)

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

// by hash
const retval = Citizen.invokeNative('0x7ebb9929', object, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x7ebb9929, object);

Sources

Cfx.re native reference

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