{"hash":"0x9CC94A948EAF5372","ns":"VEHICLE","name":"_GET_STATION_AT_INDEX","slug":"_GET_STATION_AT_INDEX","official":false,"named":true,"luaName":"GetStationAtIndex","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"trackIndex","type":"int"},{"name":"stationIndex","type":"int"}],"summary":"Returns the station hash for a given train track and station index.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the station hash for a given train track and station index.\nNotes:\n- trackIndex is typically 0..24 and stationIndex 0..7.\n- Returns 0 if the pair is invalid/out of range."},{"source":"vorp","format":"text","body":"Returns the station hash for a track and station index.\n- trackIndex: int — From 0 to 24\n- stationIndex: int — From 0 to 7"}],"examples":[],"aliases":["_GET_STATION_FROM_TRAIN_STATION_INDEX"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_STATION_AT_INDEX","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_STATION_AT_INDEX.md","snippets":{"lua":"local retval = GetStationAtIndex(trackIndex, stationIndex)","luaInvoke":"local retval = Citizen.InvokeNative(0x9CC94A948EAF5372, trackIndex, stationIndex, Citizen.ResultAsInteger())","js":"const retval = GetStationAtIndex(trackIndex, stationIndex);","jsInvoke":"const retval = Citizen.invokeNative('0x9CC94A948EAF5372', trackIndex, stationIndex, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x9CC94A948EAF5372, trackIndex, stationIndex);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}