RedM Natives

_GET_ENTITY_CARRYING_FLAG

Hash0x808077647856DE62
Runtime nameGetEntityCarryingFlag
NamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _GET_ENTITY_CARRYING_FLAG(Entity entity, int flagId);

Parameters

NameTypeDescription
entityEntity—
flagIdint—

Returns BOOL

Description

Usage

Lua
local retval = GetEntityCarryingFlag(entity, flagId)

-- always works, by hash
local retval = Citizen.InvokeNative(0x808077647856DE62, entity, flagId, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetEntityCarryingFlag(entity, flagId);

// by hash
const retval = Citizen.invokeNative('0x808077647856DE62', entity, flagId, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x808077647856DE62, entity, flagId);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Enums and flags

See also

Sources

alloc8or RDR3 NativeDB

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