RDR3 match
VEHICLE::IS_THIS_MODEL_A_TRAIN
0x3E120E8B03F73707 ·RVA 0x04A89A20
Signature
BOOL IS_THIS_MODEL_A_TRAIN(Hash64 model);
Parameters 1
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Hash64 | model |
RDR3 takes a Hash; GTA VI passes a 64-bit hash (the game reads 64 bits, and the scripts pass a value, not an address). |
Returns
BOOL
Call it
// VEHICLE::IS_THIS_MODEL_A_TRAIN
auto result = invoke<BOOL>(0x3E120E8B03F73707, model);// VEHICLE::IS_THIS_MODEL_A_TRAIN
bool result = Function.Call<bool>((Hash)0x3E120E8B03F73707, model);-- VEHICLE::IS_THIS_MODEL_A_TRAIN
local result = Citizen.InvokeNative(0x3E120E8B03F73707, model)// VEHICLE::IS_THIS_MODEL_A_TRAIN
const result = Citizen.invokeNative("0x3E120E8B03F73707", model);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.