RDR3 matchUnofficial name
VEHICLE::_HAS_TRAIN_LOADED
0x2AF6DFA142C3B5D1 ·RVA 0x04A88370
Signature
BOOL _HAS_TRAIN_LOADED(Vehicle train);
The scripts pass 2 values to this native; the decoded signature lists 1 (arguments the game doesn't read are left out).
Parameters 1
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vehicle | train |
– |
Returns
BOOL
the game returns one byte.
Call it
// VEHICLE::_HAS_TRAIN_LOADED
auto result = invoke<BOOL>(0x2AF6DFA142C3B5D1, train);// VEHICLE::_HAS_TRAIN_LOADED
bool result = Function.Call<bool>((Hash)0x2AF6DFA142C3B5D1, train);-- VEHICLE::_HAS_TRAIN_LOADED
local result = Citizen.InvokeNative(0x2AF6DFA142C3B5D1, train)// VEHICLE::_HAS_TRAIN_LOADED
const result = Citizen.invokeNative("0x2AF6DFA142C3B5D1", train);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.