_GET_CARCASS_FROM_PELT
Returns the carcass entity associated with a pelt entity.
Signature
Entity _GET_CARCASS_FROM_PELT(Entity entity); // 0x2A77EF9BEC8518F4 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
Facts
| Name | _GET_CARCASS_FROM_PELT |
|---|---|
| Hash | 0x2A77EF9BEC8518F4 |
| Namespace | |
| Returns | Entity |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local entity = Citizen.InvokeNative(0x2A77EF9BEC8518F4, -- _GET_CARCASS_FROM_PELT
PlayerPedId(), -- Entity entity
Citizen.ResultAsInteger()
)
print(entity)const entity = Citizen.invokeNative("0x2A77EF9BEC8518F4", // _GET_CARCASS_FROM_PELT
PlayerPedId(), // Entity entity
Citizen.resultAsInteger()
);
console.log(entity)int entity = Function.Call<int>((Hash)0x2A77EF9BEC8518F4, // _GET_CARCASS_FROM_PELT
API.PlayerPedId() // Entity entity
);Related ENTITY natives
- _GET_CARRIABLE_FROM_ENTITY
- _GET_IS_CARRIABLE_PELT
- 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_COLLISION_INTENSITY
- _GET_ENTITIES_IN_VOLUME
- _GET_ENTITIES_NEAR_POINT
- _GET_ENTITY_ALBEDO
- _GET_ENTITY_ANIM_CURRENT_TIME
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.