_SET_PED_ACTIVE_PLAYER_HORSE
Sets horse as the active horse of player.
Signature
void _SET_PED_ACTIVE_PLAYER_HORSE(Player player, Ped horse); // 0x8FBF9EDB378CCB8C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | horse | Ped |
Facts
| Name | _SET_PED_ACTIVE_PLAYER_HORSE |
|---|---|
| Hash | 0x8FBF9EDB378CCB8C |
| 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(0x8FBF9EDB378CCB8C, -- _SET_PED_ACTIVE_PLAYER_HORSE
PlayerId(), -- Player player
PlayerPedId() -- Ped horse
)Citizen.invokeNative("0x8FBF9EDB378CCB8C", // _SET_PED_ACTIVE_PLAYER_HORSE
PlayerId(), // Player player
PlayerPedId() // Ped horse
);Function.Call((Hash)0x8FBF9EDB378CCB8C, // _SET_PED_ACTIVE_PLAYER_HORSE
API.PlayerId(), // Player player
API.PlayerPedId() // Ped horse
);Related PLAYER natives
- _SET_PED_AS_SADDLE_HORSE_FOR_PLAYER
- SET_PED_AS_TEMP_PLAYER_HORSE
- _SET_PLAYER_MOUNT_STATE_ACTIVE
- _GET_ACTIVE_HORSE_FOR_PLAYER
- _SET_PLAYER_AIM_WEAPON
- _SET_PLAYER_CAN_MERCY_KILL
- _SET_PLAYER_CAN_PICKUP_ABILITY
- _SET_PLAYER_CAN_PICKUP_HAT
- _SET_PLAYER_COOPERATE_PROMPT_THIS_FRAME
- _SET_PLAYER_DAMAGE_INFO_OVERRIDE
- _SET_PLAYER_DEAD_EYE_AURA_BY_HASH
- _SET_PLAYER_DEFENSE_MODIFIER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.