SET_PED_OWNS_ANIMAL
Makes ped the owner of animal.
Signature
void SET_PED_OWNS_ANIMAL(Ped ped, Ped animal, BOOL p2); // 0x931B241409216C1F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | animal | Ped |
| 3 | p2 | BOOL |
Facts
| Name | SET_PED_OWNS_ANIMAL |
|---|---|
| Hash | 0x931B241409216C1F |
| 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(0x931B241409216C1F, -- SET_PED_OWNS_ANIMAL
PlayerPedId(), -- Ped ped
PlayerPedId(), -- Ped animal
false -- BOOL p2
)Citizen.invokeNative("0x931B241409216C1F", // SET_PED_OWNS_ANIMAL
PlayerPedId(), // Ped ped
PlayerPedId(), // Ped animal
false // BOOL p2
);Function.Call((Hash)0x931B241409216C1F, // SET_PED_OWNS_ANIMAL
API.PlayerPedId(), // Ped ped
API.PlayerPedId(), // Ped animal
false // BOOL p2
);Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.