_GET_TEMP_PLAYER_HORSE
Returns the temporary horse assigned to player.
Signature
Ped _GET_TEMP_PLAYER_HORSE(Player player); // 0xD3F7445CEA2E5035 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
Facts
| Name | _GET_TEMP_PLAYER_HORSE |
|---|---|
| Hash | 0xD3F7445CEA2E5035 |
| Namespace | |
| Returns | Ped |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local ped = Citizen.InvokeNative(0xD3F7445CEA2E5035, -- _GET_TEMP_PLAYER_HORSE
PlayerId(), -- Player player
Citizen.ResultAsInteger()
)
print(ped)const ped = Citizen.invokeNative("0xD3F7445CEA2E5035", // _GET_TEMP_PLAYER_HORSE
PlayerId(), // Player player
Citizen.resultAsInteger()
);
console.log(ped)int ped = Function.Call<int>((Hash)0xD3F7445CEA2E5035, // _GET_TEMP_PLAYER_HORSE
API.PlayerId() // Player player
);Related PLAYER natives
- _GET_ACTIVE_HORSE_FOR_PLAYER
- _GET_SADDLE_HORSE_FOR_PLAYER
- SET_PED_AS_TEMP_PLAYER_HORSE
- _GET_AI_PLAYER_DEFENSE_MODIFIER_AGAINST_AI
- _GET_HAS_PLAYER_DISCOVERED_CHARACTER_NAME_SP
- _GET_PLAYER_CACHED_DEAD_EYE_AMOUNT
- _GET_PLAYER_DEAD_EYE
- _GET_PLAYER_DEAD_EYE_METER_LEVEL
- _GET_PLAYER_FREE_AIM_CLOSEST_ENTITY
- _GET_PLAYER_HEALTH
- _GET_PLAYER_HEALTH_RECHARGE_MULTIPLIER
- _GET_PLAYER_HUNTING_WAGON
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.