Difference between revisions of "Lua:getAutorunPath"

From Cheat Engine
Jump to navigation Jump to search
(Initial page creation.)
 
m (Syntax Highlighting.)
 
Line 11: Line 11:
  
 
===Examples===
 
===Examples===
<pre>
+
<syntaxhighlight lang="lua" line>
 
local path = getAutorunPath()
 
local path = getAutorunPath()
  
 
print("Autorun path: " .. path)
 
print("Autorun path: " .. path)
</pre>
+
</syntaxhighlight>
  
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}

Latest revision as of 19:50, 25 June 2026

<> Reference

function getAutorunPath() : string

Returns the autorun path.

Function Parameters[edit]

This function has no parameters.

Returns[edit]

string — The autorun path.

Examples[edit]

1 local path = getAutorunPath()
2 
3 print("Autorun path: " .. path)

See Also[edit]

Main Pages