_GET_ENTITY_CARRYING_FLAG
Returns the value of the carrying flag flagId on the entity.
Signature
BOOL _GET_ENTITY_CARRYING_FLAG(Entity entity, int flagId); // 0x808077647856DE62 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | flagId | int |
Facts
| Name | _GET_ENTITY_CARRYING_FLAG |
|---|---|
| Hash | 0x808077647856DE62 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x808077647856DE62, -- _GET_ENTITY_CARRYING_FLAG
PlayerPedId(), -- Entity entity
0 -- int flagId
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x808077647856DE62", // _GET_ENTITY_CARRYING_FLAG
PlayerPedId(), // Entity entity
0, // int flagId
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x808077647856DE62, // _GET_ENTITY_CARRYING_FLAG
API.PlayerPedId(), // Entity entity
0 // int flagId
);Related ENTITY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.