Posted: Sat May 04, 2024 6:24 am Post subject: Lua script usage general questions
Hi,
from what i have scoured from site and put together myself i have made:
wantedSpeed=0.3
lastSpeed=1
function checkKeys(timer)
if isKeyPressed(VK_RBUTTON) and (not isKeyPressed(VK_LBUTTON)) then
if lastSpeed~=wantedSpeed then
lastSpeed = math.max(lastSpeed - 0.025, wantedSpeed)
speedhack_setSpeed(lastSpeed)
end
else
if isKeyPressed(VK_LBUTTON) then
lastSpeed = 1
speedhack_setSpeed(lastSpeed)
end
if lastSpeed~=1 then
lastSpeed = math.max(lastSpeed + 0.05, wantedSpeed)
lastSpeed = math.min(lastSpeed, 1)
speedhack_setSpeed(lastSpeed)
end
end
end
Very cool way to feel like i'm playing good ol' max payne games while playing any other fps.
Script works just fine (unless you can suggest some needed changes), but I need help with launching it - normallny, after attaching, I launch it via Table -> Show Cheat Table Lua Script -> paste & Execute script, which usually works but kinda gets tedious.
I want to ask if is there some way I can:
1. auto attach to some game (or selected group of them)?
2. toggle it on/ off with Active checkbox? I mean like for values i would have found and added using Scanning?
hi, i understand how to autoattach now and how template ought to work, but i still have no idea how to add bare lua script to the checkbox
i tried to copy some script from existing cheat table and edit it, but this results with this instruction cannot be compiled error on the very first lane of script after [ENABLED]
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum