_GET_ENTITY_CARRYING_FLAG
Hash
0x808077647856DE62Runtime name
GetEntityCarryingFlagNamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _GET_ENTITY_CARRYING_FLAG(Entity entity, int flagId);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
flagId | int | — |
Returns BOOL
Description
flagId: see _SET_ENTITY_CARRYING_FLAG
Usage
local retval = GetEntityCarryingFlag(entity, flagId)
-- always works, by hash
local retval = Citizen.InvokeNative(0x808077647856DE62, entity, flagId, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetEntityCarryingFlag(entity, flagId);
// by hash
const retval = Citizen.invokeNative('0x808077647856DE62', entity, flagId, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Enums and flags
- CCarryingFlags__Flags 40 values
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.