{"hash":"0x86FA6D8B48667D75","ns":"VEHICLE","name":"GET_CURRENT_STATION_FOR_TRAIN","slug":"GET_CURRENT_STATION_FOR_TRAIN","official":true,"named":true,"luaName":"GetCurrentStationForTrain","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"train","type":"Vehicle"}],"summary":"Returns p1 for 0xBA958F68031DDBFC (stationIndex)","descriptions":[{"source":"alloc8or","format":"text","body":"Returns p1 for 0xBA958F68031DDBFC (stationIndex)"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/GET_CURRENT_STATION_FOR_TRAIN","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/GET_CURRENT_STATION_FOR_TRAIN.md","snippets":{"lua":"local retval = GetCurrentStationForTrain(train)","luaInvoke":"local retval = Citizen.InvokeNative(0x86FA6D8B48667D75, train, Citizen.ResultAsInteger())","js":"const retval = GetCurrentStationForTrain(train);","jsInvoke":"const retval = Citizen.invokeNative('0x86FA6D8B48667D75', train, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x86FA6D8B48667D75, train);","notes":[]}}