VEHICLE

GET_TRAIN_CARRIAGE

0x08AAFD0814722BC3 Jenkins: 0x2544E7A6

Signature

// VEHICLE
Entity GET_TRAIN_CARRIAGE(Vehicle train, int trailerNumber)

Parameters

Type Name
Vehicle train
int trailerNumber

Return type Entity

Build 323

Documentation

Corrected p1. it's basically the 'carriage/trailer number'. So if the train has 3 trailers you'd call the native once with a var or 3 times with 1, 2, 3.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.