The Lab
PLAYER native

_GET_PLAYER_HUNTING_WAGON

returns Vehicle1 parambuild 1207

Returns the hunting wagon assigned to player.

Signature

C
Vehicle _GET_PLAYER_HUNTING_WAGON(Player player); // 0x5CA6BBD4A7D8145E b1207

Parameters

#NameType
1playerPlayer

Facts

Facts about _GET_PLAYER_HUNTING_WAGON
Name
_GET_PLAYER_HUNTING_WAGON
Hash
0x5CA6BBD4A7D8145E
Namespace
Returns
Vehicle
Game build
1207

Examples

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

Lua
local vehicle = Citizen.InvokeNative(0x5CA6BBD4A7D8145E, -- _GET_PLAYER_HUNTING_WAGON
  PlayerId(), -- Player player
  Citizen.ResultAsInteger()
)
print(vehicle)
JavaScript
const vehicle = Citizen.invokeNative("0x5CA6BBD4A7D8145E", // _GET_PLAYER_HUNTING_WAGON
  PlayerId(), // Player player
  Citizen.resultAsInteger()
);
console.log(vehicle)
C#
int vehicle = Function.Call<int>((Hash)0x5CA6BBD4A7D8145E, // _GET_PLAYER_HUNTING_WAGON
  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.