The Lab
VEHICLE native

_GET_STATION_AT_INDEX

returns Hash2 paramsbuild 1207

Returns the hash of station stationIndex on track trackIndex.

Signature

C
Hash _GET_STATION_AT_INDEX(int trackIndex, int stationIndex); // 0x9CC94A948EAF5372 b1207

Parameters

#NameType
1trackIndexint
2stationIndexint

Facts

Facts about _GET_STATION_AT_INDEX
Name
_GET_STATION_AT_INDEX
Hash
0x9CC94A948EAF5372
Namespace
Returns
Hash
Game build
1207

Examples

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

Lua
local hash = Citizen.InvokeNative(0x9CC94A948EAF5372, -- _GET_STATION_AT_INDEX
  0, -- int trackIndex
  0, -- int stationIndex
  Citizen.ResultAsInteger()
)
print(hash)
JavaScript
const hash = Citizen.invokeNative("0x9CC94A948EAF5372", // _GET_STATION_AT_INDEX
  0, // int trackIndex
  0, // int stationIndex
  Citizen.resultAsInteger()
);
console.log(hash)
C#
int hash = Function.Call<int>((Hash)0x9CC94A948EAF5372, // _GET_STATION_AT_INDEX
  0, // int trackIndex
  0 // int stationIndex
);
All VEHICLE natives

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