Game codeUnofficial name
VEHICLE::_SET_ALL_VEHICLE_GENERATORS_DISABLED_FOR_VOLUME
0x0F2D2B4ABDB00346 ·RVA 0x04A8DEF0
Signature
void _SET_ALL_VEHICLE_GENERATORS_DISABLED_FOR_VOLUME(
Volume volume,
BOOL toggle,
BOOL p2
);
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Volume | volume |
– |
| 1 | BOOL | toggle |
– |
| 2 | BOOL | p2 |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p2 is not in RDR3's signature; the game reads it as a true/false value.
- This lines up with RDR3's signature in more than one way; it takes the one that keeps RDR3's arguments first and puts the new ones after them.
Call it
// VEHICLE::_SET_ALL_VEHICLE_GENERATORS_DISABLED_FOR_VOLUME
invoke<Void>(0x0F2D2B4ABDB00346, volume, toggle, p2);// VEHICLE::_SET_ALL_VEHICLE_GENERATORS_DISABLED_FOR_VOLUME
Function.Call((Hash)0x0F2D2B4ABDB00346, volume, toggle, p2);-- VEHICLE::_SET_ALL_VEHICLE_GENERATORS_DISABLED_FOR_VOLUME
Citizen.InvokeNative(0x0F2D2B4ABDB00346, volume, toggle, p2)// VEHICLE::_SET_ALL_VEHICLE_GENERATORS_DISABLED_FOR_VOLUME
Citizen.invokeNative("0x0F2D2B4ABDB00346", volume, toggle, p2);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.