_SET_PELT_FOR_HORSE_BY_INVENTORY_ITEM
Places the pelt matching the inventory item inventoryItem on horse with the given textures.
Signature
void _SET_PELT_FOR_HORSE_BY_INVENTORY_ITEM(Ped horse, Hash inventoryItem, Hash albedoHash, Hash normalHash, BOOL p4); // 0xC412AA1C73111FE0 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | horse | Ped |
| 2 | inventoryItem | Hash |
| 3 | albedoHash | Hash |
| 4 | normalHash | Hash |
| 5 | p4 | BOOL |
Facts
| Name | _SET_PELT_FOR_HORSE_BY_INVENTORY_ITEM |
|---|---|
| Hash | 0xC412AA1C73111FE0 |
| 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(0xC412AA1C73111FE0, -- _SET_PELT_FOR_HORSE_BY_INVENTORY_ITEM
PlayerPedId(), -- Ped horse
GetHashKey("name"), -- Hash inventoryItem
GetHashKey("name"), -- Hash albedoHash
GetHashKey("name"), -- Hash normalHash
false -- BOOL p4
)Citizen.invokeNative("0xC412AA1C73111FE0", // _SET_PELT_FOR_HORSE_BY_INVENTORY_ITEM
PlayerPedId(), // Ped horse
GetHashKey("name"), // Hash inventoryItem
GetHashKey("name"), // Hash albedoHash
GetHashKey("name"), // Hash normalHash
false // BOOL p4
);Function.Call((Hash)0xC412AA1C73111FE0, // _SET_PELT_FOR_HORSE_BY_INVENTORY_ITEM
API.PlayerPedId(), // Ped horse
(uint)API.GetHashKey("name"), // Hash inventoryItem
(uint)API.GetHashKey("name"), // Hash albedoHash
(uint)API.GetHashKey("name"), // Hash normalHash
false // BOOL p4
);Related PED natives
- _SET_PELT_FOR_HORSE
- _SET_PED_DESIRED_LOCO_FOR_MODEL
- _SET_PED_KNOCKED_BY_ONE_HIT
- _SET_PED_USE_HORSE_MAP_COLLISION
- _SET_PLAYER_ANTAGONIZE_DISABLED_FOR_PED
- _SET_PLAYER_GREET_DISABLED_FOR_PED
- _SET_DEFENSE_MODIFIER_FOR_PED
- _SET_HORSE_SCRIPTED_FLAG
- _CLEAR_PELT_FROM_HORSE
- _COMPUTE_SATCHEL_ITEM_FOR_PED_CARCASS
- _GET_PELT_FROM_HORSE
- _GET_SHOP_ITEM_WEARABLE_STATE_BY_INDEX
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.