The Lab
PLAYER native

_GET_SADDLE_HORSE_FOR_PLAYER

returns Ped1 parambuild 1207

Returns the horse currently saddled for player.

Signature

C
Ped _GET_SADDLE_HORSE_FOR_PLAYER(Player player); // 0xB48050D326E9A2F3 b1207

Parameters

#NameType
1playerPlayer

Facts

Facts about _GET_SADDLE_HORSE_FOR_PLAYER
Name
_GET_SADDLE_HORSE_FOR_PLAYER
Hash
0xB48050D326E9A2F3
Namespace
Returns
Ped
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local ped = Citizen.InvokeNative(0xB48050D326E9A2F3, -- _GET_SADDLE_HORSE_FOR_PLAYER
  PlayerId(), -- Player player
  Citizen.ResultAsInteger()
)
print(ped)
JavaScript
const ped = Citizen.invokeNative("0xB48050D326E9A2F3", // _GET_SADDLE_HORSE_FOR_PLAYER
  PlayerId(), // Player player
  Citizen.resultAsInteger()
);
console.log(ped)
C#
int ped = Function.Call<int>((Hash)0xB48050D326E9A2F3, // _GET_SADDLE_HORSE_FOR_PLAYER
  API.PlayerId() // Player player
);
All PLAYER natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.