Lua:speedhack getSpeed

From Cheat Engine
Jump to navigation Jump to search

<> Lua API Reference

function speedhack_getSpeed() : number

Returns the last set speedhack speed.

Function Parameters

This function has no parameters.

Returns

number — The last set speedhack speed.

Examples

local speed = speedhack_getSpeed()

print("Current speedhack speed: " .. tostring(speed))

Main Pages

Core Lua documentation entry points

Lua
Script Engine