Lua:getCheatEngineProcessID

From Cheat Engine
Jump to navigation Jump to search

function getCheatEngineProcessID() : Integer

Returns the process ID of the Cheat Engine process itself.

Returns

Integer — The process ID of Cheat Engine.

Examples

local ce_pid = getCheatEngineProcessID()
print("Cheat Engine PID:", ce_pid)

See also