_GET_CARRIABLE_FROM_ENTITY
Returns the carriable hash associated with the entity.
Signature
Hash _GET_CARRIABLE_FROM_ENTITY(Entity entity); // 0x31FEF6A20F00B963 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
Facts
| Name | _GET_CARRIABLE_FROM_ENTITY |
|---|---|
| Hash | 0x31FEF6A20F00B963 |
| Namespace | |
| Returns | Hash |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local hash = Citizen.InvokeNative(0x31FEF6A20F00B963, -- _GET_CARRIABLE_FROM_ENTITY
PlayerPedId(), -- Entity entity
Citizen.ResultAsInteger()
)
print(hash)const hash = Citizen.invokeNative("0x31FEF6A20F00B963", // _GET_CARRIABLE_FROM_ENTITY
PlayerPedId(), // Entity entity
Citizen.resultAsInteger()
);
console.log(hash)int hash = Function.Call<int>((Hash)0x31FEF6A20F00B963, // _GET_CARRIABLE_FROM_ENTITY
API.PlayerPedId() // Entity entity
);Related ENTITY natives
- _GET_LAST_ENTITY_TO_DAMAGE_ENTITY
- _GET_CARCASS_FROM_PELT
- GET_CARRIABLE_ENTITY_STATE
- GET_OBJECT_INDEX_FROM_ENTITY_INDEX
- GET_OFFSET_FROM_ENTITY_GIVEN_WORLD_COORDS
- GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS
- GET_PED_INDEX_FROM_ENTITY_INDEX
- GET_VEHICLE_INDEX_FROM_ENTITY_INDEX
- _GET_ENTITY_ALBEDO
- _GET_ENTITY_ANIM_CURRENT_TIME
- _GET_ENTITY_BY_DOORHASH
- _GET_ENTITY_CAN_BE_DAMAGED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.