WALLED !BEWARE! Deletes post on answer Reputation: 0
Joined: 17 Feb 2020 Posts: 16
Posted: Fri Mar 27, 2020 9:30 am Post subject: Speed Hack Button in-game isn't working
Hello, i have a button which when u click it will increase in-game speed by 10.
My code was with luacall, but i changed to speedhack_setSpeed(10) and when i create an .exe standalone trainer, and click on the speed hack button in-game, it's just isn't working, also it worked for me with luacall like 3-4-5 weeks ago but both isn't working. The full code is now
Code:
function UDF1_CEPanel17Click(sender)
if sender.showhint == false then
sender.showhint = true
sender.color = '$000500D2'
end
speedhack_setSpeed(10)
sender.showhint = false
sender.color = '$0016BC27'
speedhack_setSpeed(1)
end
Also after i created the .exe standalone and tried the hack, it worked, but i put the .exe to .rar and after some time i tried, it won't worked.
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
Posted: Fri Mar 27, 2020 9:35 am Post subject: Re: Speed Hack Button in-game isn't working
WALLED wrote:
Hello, i have a button which when u click it will increase in-game speed by 10.
My code was with luacall, but i changed to speedhack_setSpeed(10) and when i create an .exe standalone trainer, and click on the speed hack button in-game, it's just isn't working, also it worked for me with luacall like 3-4-5 weeks ago but both isn't working. The full code is now
Code:
function UDF1_CEPanel17Click(sender)
if sender.showhint == false then
sender.showhint = true
sender.color = '$000500D2'
end
speedhack_setSpeed(10)
sender.showhint = false
sender.color = '$0016BC27'
speedhack_setSpeed(1)
end
Also after i created the .exe standalone and tried the hack, it worked, but i put the .exe to .rar and after some time i tried, it won't worked.
that is because you set the speed to 10, set showhint to false, set color to 0016BC27 and then set speed back to 1
in short, you set speed back to 1 every single time
I suggest using a else statement, and move one of the setspeeds to the first if block _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
function UDF1_CEPanel1Click(sender)
if sender.showhint == false then
sender.showhint = true
sender.color = '$000500D2'
print('speed hack setting to 10 now')
speedhack_setSpeed(10)
else
sender.showhint = false
sender.color = '$0016BC27'
print('speed hack set back to 1')
speedhack_setSpeed(1)
end
end
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