Game code
VEHICLE::SET_VEHICLE_FORWARD_SPEED
0x60ED09180606D50B ·RVA 0x04A933C0
Signature
void SET_VEHICLE_FORWARD_SPEED(
Vehicle vehicle,
float speed,
BOOL p2
);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vehicle | vehicle |
– |
| 1 | float | speed |
– |
| 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.
Call it
// VEHICLE::SET_VEHICLE_FORWARD_SPEED
invoke<Void>(0x60ED09180606D50B, vehicle, speed, p2);// VEHICLE::SET_VEHICLE_FORWARD_SPEED
Function.Call((Hash)0x60ED09180606D50B, vehicle, speed, p2);-- VEHICLE::SET_VEHICLE_FORWARD_SPEED
Citizen.InvokeNative(0x60ED09180606D50B, vehicle, speed, p2)// VEHICLE::SET_VEHICLE_FORWARD_SPEED
Citizen.invokeNative("0x60ED09180606D50B", vehicle, speed, 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.