The Lab
VEHICLE native

_GET_TRAIN_CAR

returns Entity1 parambuild 1207

Based on its name and signature, here is our best reading:

Returns a car entity belonging to train.

Signature

C
Entity _GET_TRAIN_CAR(Vehicle train); // 0x671A07C9A1CD50A5 b1207

Parameters

#NameType
1trainVehicle

Facts

Facts about _GET_TRAIN_CAR
Name
_GET_TRAIN_CAR
Hash
0x671A07C9A1CD50A5
Namespace
Returns
Entity
Game build
1207

Examples

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

Lua
local entity = Citizen.InvokeNative(0x671A07C9A1CD50A5, -- _GET_TRAIN_CAR
  0, -- Vehicle train
  Citizen.ResultAsInteger()
)
print(entity)
JavaScript
const entity = Citizen.invokeNative("0x671A07C9A1CD50A5", // _GET_TRAIN_CAR
  0, // Vehicle train
  Citizen.resultAsInteger()
);
console.log(entity)
C#
int entity = Function.Call<int>((Hash)0x671A07C9A1CD50A5, // _GET_TRAIN_CAR
  0 // Vehicle train
);
All VEHICLE natives

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