Lua:speedhack setSpeed

From Cheat Engine
Revision as of 11:43, 4 March 2012 by Dark Byte (talk | contribs) (Created page with ''''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 …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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