RDR3 match
VEHICLE::GET_TRAIN_CARRIAGE
0xB3246CD32F04F6C5 ·RVA 0x04A85F50
Signature
Vehicle GET_TRAIN_CARRIAGE(Vehicle train, int trailerNumber);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vehicle | train |
– |
| 1 | int | trailerNumber |
– |
Returns
Vehicle
Call it
// VEHICLE::GET_TRAIN_CARRIAGE
auto result = invoke<Vehicle>(0xB3246CD32F04F6C5, train, trailerNumber);// VEHICLE::GET_TRAIN_CARRIAGE
int result = Function.Call<int>((Hash)0xB3246CD32F04F6C5, train, trailerNumber);-- VEHICLE::GET_TRAIN_CARRIAGE
local result = Citizen.InvokeNative(0xB3246CD32F04F6C5, train, trailerNumber)// VEHICLE::GET_TRAIN_CARRIAGE
const result = Citizen.invokeNative("0xB3246CD32F04F6C5", train, trailerNumber);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.