No space goes here, no character gets up! how activate?
{$CLEO .cs}
THREAD 'AUTOSPACE'
WHILE TRUE
WAIT 0
if
0ADC: test_cheat "WALK"
then
if
0@ == false
then
0@ = true
else
0@ = false
end
end
if and
0@ == true
32@ > 500 // 500ms timer
then
0AB1: @FAKE_KEYPRESS 1 _OFFSET_KEY_ 0x1C // send key press
32@ = 0 // reset timer
end
END
:FAKE_KEYPRESS
1@ = 0xB73458
005A: 1@ += 0@ // (int)
0A8C: write_memory 1@ size 1 value 255 virtual_protect 0
0AB2: ret 0
{$CLEO .cs}
THREAD 'AUTOSPACE'
WHILE TRUE
WAIT 0
if
0ADC: test_cheat "WALK"
then
if
0@ == false
then
0@ = true
else
0@ = false
end
end
if and
0@ == true
32@ > 500 // 500ms timer
then
0AB1: @FAKE_KEYPRESS 1 _OFFSET_KEY_ 0x1C // send key press
32@ = 0 // reset timer
end
END
:FAKE_KEYPRESS
1@ = 0xB73458
005A: 1@ += 0@ // (int)
0A8C: write_memory 1@ size 1 value 255 virtual_protect 0
0AB2: ret 0