{"hash":"0x60B7D1DCC312697D","ns":"VEHICLE","name":"_GET_TRAIN_CARRIAGE_TRAILER_NUMBER","slug":"_GET_TRAIN_CARRIAGE_TRAILER_NUMBER","official":false,"named":true,"luaName":"GetTrainCarriageTrailerNumber","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"train","type":"Vehicle"}],"summary":"Returns iNumCars - to be used with GET_TRAIN_CARRIAGE (trailerNumber)","descriptions":[{"source":"alloc8or","format":"text","body":"Returns iNumCars - to be used with GET_TRAIN_CARRIAGE (trailerNumber)\n_C* (O, P, Q, R)"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_TRAIN_CARRIAGE_TRAILER_NUMBER","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_TRAIN_CARRIAGE_TRAILER_NUMBER.md","snippets":{"lua":"local retval = GetTrainCarriageTrailerNumber(train)","luaInvoke":"local retval = Citizen.InvokeNative(0x60B7D1DCC312697D, train, Citizen.ResultAsInteger())","js":"const retval = GetTrainCarriageTrailerNumber(train);","jsInvoke":"const retval = Citizen.invokeNative('0x60B7D1DCC312697D', train, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x60B7D1DCC312697D, 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."]}}