_SET_ANIMAL_PELT_TEXTURE
Applies a pelt asset and albedo texture to an animal entity.
Signature
void _SET_ANIMAL_PELT_TEXTURE(Entity entity, Hash peltAsset, Hash albedoHash, int p3); // 0xDD03FC2089AD093C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | peltAsset | Hash |
| 3 | albedoHash | Hash |
| 4 | p3 | int |
Facts
| Name | _SET_ANIMAL_PELT_TEXTURE |
|---|---|
| Hash | 0xDD03FC2089AD093C |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xDD03FC2089AD093C, -- _SET_ANIMAL_PELT_TEXTURE
PlayerPedId(), -- Entity entity
GetHashKey("name"), -- Hash peltAsset
GetHashKey("name"), -- Hash albedoHash
0 -- int p3
)Citizen.invokeNative("0xDD03FC2089AD093C", // _SET_ANIMAL_PELT_TEXTURE
PlayerPedId(), // Entity entity
GetHashKey("name"), // Hash peltAsset
GetHashKey("name"), // Hash albedoHash
0 // int p3
);Function.Call((Hash)0xDD03FC2089AD093C, // _SET_ANIMAL_PELT_TEXTURE
API.PlayerPedId(), // Entity entity
(uint)API.GetHashKey("name"), // Hash peltAsset
(uint)API.GetHashKey("name"), // Hash albedoHash
0 // int p3
);Related ENTITY natives
- _SET_AUTO_PICKUP
- _SET_CARRIABLE_PICKUP_LIGHT
- _SET_ENTITY_ANIM_AGE
- _SET_ENTITY_ANIM_CURRENT_TIME
- _SET_ENTITY_ANIM_SPEED
- _SET_ENTITY_ATTACHED_OFFSET
- _SET_ENTITY_CARCASS_TYPE
- _SET_ENTITY_CARRYING_FLAG
- _SET_ENTITY_COORDS_AND_HEADING
- _SET_ENTITY_COORDS_AND_HEADING_NO_OFFSET
- _SET_ENTITY_CUSTOM_PICKUP_RADIUS
- _SET_ENTITY_DISABLE_FIRE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.