Fovoc37 How do I cheat?
Reputation: 0
Joined: 30 Sep 2018 Posts: 9
|
Posted: Wed Apr 08, 2020 8:32 am Post subject: Game function call |
|
|
Hello, guys. I have access to the console of the game, which is written with the help of the lua, but I can not perform the game functions. There is a LuaGetLocalHeroPosition() function in the game’s memory, if I add it to the code, an error appears:
| Code: | | attempt to call global 'LuaGetLocalHeroPosition' (a nil value) |
Command start is initialized through this function:
| Code: | LuaConsole = LuaConsole or {}
function LuaConsole:RunCommand()
LuaGetLocalHeroPosition()
end |
How can I call these functions so that they work through the console?
Please help :c
|
|