Difference between revisions of "Lua:speedhack setSpeed"

From Cheat Engine
Jump to navigation Jump to search
Line 1: Line 1:
{{DISPLAYTITLE:speedhack_setSpeed}}
 
 
 
'''function''' speedhack_setSpeed(''speed'')
 
'''function''' speedhack_setSpeed(''speed'')
  
Line 25: Line 23:
 
== See also ==
 
== See also ==
 
* [[Lua]]
 
* [[Lua]]
 +
 +
{{DISPLAYTITLE:speedhack_setSpeed}}

Revision as of 12:14, 4 March 2012

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