setPedMoveRateOverride
SET_PED_MOVE_RATE_OVERRIDE0x085BF80FA50A39D1The GTA V native SET_PED_MOVE_RATE_OVERRIDE of the PED namespace, as LS:MP client scripts call it: the global function setPedMoveRateOverride, in JavaScript and in Lua.
setPedMoveRateOverride(ped: Ped, value: number): voidsetPedMoveRateOverride(ped: Ped, value: number)Usage
JavaScript
setPedMoveRateOverride(ped, value);Lua
setPedMoveRateOverride(ped, value)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
value | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Min: 0.00
Max: 10.00
Can be used in combo with fast run cheat.
When value is set to 10.00:
Sprinting without fast run cheat: 66 m/s
Sprinting with fast run cheat: 77 m/s
Needs to be looped!
Note: According to IDA for the Xbox360 xex, when they check bgt they seem to have the min to 0.0f, but the max set to 1.15f not 10.0f.
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_MOVE_RATE_OVERRIDE(Ped ped, float value)- Hash
0x085BF80FA50A39D1