{"hash":"0x671A07C9A1CD50A5","ns":"VEHICLE","name":"_GET_TRAIN_CAR","slug":"_GET_TRAIN_CAR","official":false,"named":true,"luaName":"GetTrainCar","game":"rdr3","apiset":"client","returnType":"Entity","params":[{"name":"train","type":"Vehicle"}],"summary":"Returns train car, use GET_TRAIN_CARRIAGE when trailerNumber is bigger than 0","descriptions":[{"source":"alloc8or","format":"text","body":"Returns train car, use GET_TRAIN_CARRIAGE when trailerNumber is bigger than 0"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_TRAIN_CAR","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_TRAIN_CAR.md","snippets":{"lua":"local retval = GetTrainCar(train)","luaInvoke":"local retval = Citizen.InvokeNative(0x671A07C9A1CD50A5, train, Citizen.ResultAsInteger())","js":"const retval = GetTrainCar(train);","jsInvoke":"const retval = Citizen.invokeNative('0x671A07C9A1CD50A5', train, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x671A07C9A1CD50A5, train);","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."]}}