Log In
Sign Up
RDR3 matchUnofficial name

VEHICLE::_SET_TRAIN_DESTRUCTION_ENABLED

0x866F7F5FF81D1DE1 ·RVA 0x04A91670

Signature

void _SET_TRAIN_DESTRUCTION_ENABLED(Entity train, BOOL enabled);

The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).

Parameters 2

#TypeNameNotes
0Entitytrain RDR3 doesn't give a type; the game uses it as an entity handle.
1BOOLenabled RDR3 doesn't give a type; the game reads it as a true/false value.

Returns

void Nothing.

Call it

// VEHICLE::_SET_TRAIN_DESTRUCTION_ENABLED
invoke<Void>(0x866F7F5FF81D1DE1, train, enabled);

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.