speedhack_setSpeed
Revision as of 00:13, 25 January 2018 by TheyCallMeTim13 (talk | contribs) (moved speedhack setSpeed to Lua:speedhack setSpeed)
function speedhack_setSpeed(speed)
Enabled the speedhack if it wasn't active yet and sets the required speed.
Example:
speedhack_setSpeed(5) --5 times the normal speed speedhack_setSpeed(0.5) --Half the normal speed speedhack_setSpeed(1) --Normal speed
Function Parameters
Parameter | Type | Description |
---|---|---|
speed | float | The speed to set |
See also