Activate trainer with hotkey

STN

Pleb
Staff member
Administrator
Mar 2, 2017
3,038
63
48
#2
Blayde post_id=26337 time=1511776727 user_id=8084 said:
Is this possible with CE ?

Sure, make one big script called it activation set a hotkey. Then simple have flags inside that toggle each cheat

e.g

activation script:
[enable]
cmp [unl_health], 1
jne @F
@@:
cmp [unl_stamina], 1
jne code


in your individual scripts, do

[enable]
unl_health:
dd 1
[disable]
unl_health:
dd 0

and so on
 

Blayde

Expert Cheater
Aug 25, 2017
220
1
16
#3
STN post_id=26338 time=1511780158 user_id=48 said:
Sure, make one big script called it activation set a hotkey. Then simple have flags.......
I was hoping that it may be possible, but if there is no other way...
Thank you for reply.
 

movss

Noobzor
Feb 9, 2018
11
0
1
#4
sure
e.g
'========== this is lua script
enable=[[
---your assemble code
....
]]

function work()
autoAssemble(enale)
end

createHotkey("work",VK_HOME)
'==========
then it will run the code of enable
 

movss

Noobzor
Feb 9, 2018
11
0
1
#5
er,maybe you want to activate the form
so that ,on hotkey event you can define

form.visible=true
 
Top Bottom