RDR3 matchUnofficial name
ENTITY::_IS_ENTITY_ON_TRAIN_TRACK
0x4B42F2AA7A8534F5 ·RVA 0x03C0E380
Signature
BOOL _IS_ENTITY_ON_TRAIN_TRACK(Entity entity);
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 | Entity | entity |
– |
Returns
BOOL
Call it
// ENTITY::_IS_ENTITY_ON_TRAIN_TRACK
auto result = invoke<BOOL>(0x4B42F2AA7A8534F5, entity);// ENTITY::_IS_ENTITY_ON_TRAIN_TRACK
bool result = Function.Call<bool>((Hash)0x4B42F2AA7A8534F5, entity);-- ENTITY::_IS_ENTITY_ON_TRAIN_TRACK
local result = Citizen.InvokeNative(0x4B42F2AA7A8534F5, entity)// ENTITY::_IS_ENTITY_ON_TRAIN_TRACK
const result = Citizen.invokeNative("0x4B42F2AA7A8534F5", entity);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.