{$CLEO .cs}
0A8D: 1@ = read_memory 13157456 size 4 virtual_protect 1
0A8D: 2@ = read_memory 13157680 size 4 virtual_protect 1
0A8D: 3@ = read_memory 13158128 size 4 virtual_protect 1
0A8D: 4@ = read_memory 13158240 size 4 virtual_protect 1
0A8D: 5@ = read_memory 13158352 size 4 virtual_protect 1
0A8D: 6@ = read_memory 13158464 size 4 virtual_protect 1
0A8D: 7@ = read_memory 13158576 size 4 virtual_protect 1
0A8D: 8@ = read_memory 13157568 size 4 virtual_protect 1
0A8D: 9@ = read_memory 13157792 size 4 virtual_protect 1
0A8D: 10@ = read_memory 13157904 size 4 virtual_protect 1
0A8D: 11@ = read_memory 13158016 size 4 virtual_protect 1
0A8D: 12@ = read_memory 13154656 size 4 virtual_protect 1
0A8D: 13@ = read_memory 13154768 size 4 virtual_protect 1
0A8D: 14@ = read_memory 13155216 size 4 virtual_protect 1
30@ = 0
29@ = 0
while true
wait 0
if and
29@ == 0
0ADC: test_cheat "test"
then
29@ = 1
else
if and
29@ == 1
0ADC: test_cheat "beta"
then
29@ = 0
end
end
if and
02D8: actor $PLAYER_ACTOR current_weapon == 24
30@ == 0
29@ == 1
then
30@ = 1
0A8C: write_memory 13157456 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13157680 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13158128 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13158240 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13158352 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13158464 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13158576 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13157568 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13157792 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13157904 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13158016 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13154656 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13154768 size 4 value 1000.0 virtual_protect 1
0A8C: write_memory 13155216 size 4 value 1000.0 virtual_protect 1
end
if and
82D8: actor $PLAYER_ACTOR current_weapon == 24
30@ == 1
then
30@ = 0
0A8C: write_memory 13157456 size 4 value 1@ virtual_protect 1
0A8C: write_memory 13157680 size 4 value 2@ virtual_protect 1
0A8C: write_memory 13158128 size 4 value 3@ virtual_protect 1
0A8C: write_memory 13158240 size 4 value 4@ virtual_protect 1
0A8C: write_memory 13158352 size 4 value 5@ virtual_protect 1
0A8C: write_memory 13158464 size 4 value 6@ virtual_protect 1
0A8C: write_memory 13158576 size 4 value 7@ virtual_protect 1
0A8C: write_memory 13157568 size 4 value 8@ virtual_protect 1
0A8C: write_memory 13157792 size 4 value 9@ virtual_protect 1
0A8C: write_memory 13157904 size 4 value 10@ virtual_protect 1
0A8C: write_memory 13158016 size 4 value 11@ virtual_protect 1
0A8C: write_memory 13154656 size 4 value 12@ virtual_protect 1
0A8C: write_memory 13154768 size 4 value 13@ virtual_protect 1
0A8C: write_memory 13155216 size 4 value 14@ virtual_protect 1
end
end
thxmonday link said:idk if that's what you need but this way it won't change the values to custom ones if "test" wasn't typed, I didn't test it though
Code:{$CLEO .cs} 0A8D: 1@ = read_memory 13157456 size 4 virtual_protect 1 0A8D: 2@ = read_memory 13157680 size 4 virtual_protect 1 0A8D: 3@ = read_memory 13158128 size 4 virtual_protect 1 0A8D: 4@ = read_memory 13158240 size 4 virtual_protect 1 0A8D: 5@ = read_memory 13158352 size 4 virtual_protect 1 0A8D: 6@ = read_memory 13158464 size 4 virtual_protect 1 0A8D: 7@ = read_memory 13158576 size 4 virtual_protect 1 0A8D: 8@ = read_memory 13157568 size 4 virtual_protect 1 0A8D: 9@ = read_memory 13157792 size 4 virtual_protect 1 0A8D: 10@ = read_memory 13157904 size 4 virtual_protect 1 0A8D: 11@ = read_memory 13158016 size 4 virtual_protect 1 0A8D: 12@ = read_memory 13154656 size 4 virtual_protect 1 0A8D: 13@ = read_memory 13154768 size 4 virtual_protect 1 0A8D: 14@ = read_memory 13155216 size 4 virtual_protect 1 30@ = 0 29@ = 0 while true wait 0 if and 29@ == 0 0ADC: test_cheat "test" then 29@ = 1 else if and 29@ == 1 0ADC: test_cheat "beta" then 29@ = 0 end end if and 02D8: actor $PLAYER_ACTOR current_weapon == 24 30@ == 0 29@ == 1 then 30@ = 1 0A8C: write_memory 13157456 size 4 value 1000.0 virtual_protect 1 0A8C: write_memory 13157680 size 4 value 1000.0 virtual_protect 1 0A8C: write_memory 13158128 size 4 value 1000.0 virtual_protect 1 0A8C: write_memory 13158240 size 4 value 1000.0 virtual_protect 1 0A8C: write_memory 13158352 size 4 value 1000.0 virtual_protect 1 0A8C: write_memory 13158464 size 4 value 1000.0 virtual_protect 1 0A8C: write_memory 13158576 size 4 value 1000.0 virtual_protect 1 0A8C: write_memory 13157568 size 4 value 1000.0 virtual_protect 1 0A8C: write_memory 13157792 size 4 value 1000.0 virtual_protect 1 0A8C: write_memory 13157904 size 4 value 1000.0 virtual_protect 1 0A8C: write_memory 13158016 size 4 value 1000.0 virtual_protect 1 0A8C: write_memory 13154656 size 4 value 1000.0 virtual_protect 1 0A8C: write_memory 13154768 size 4 value 1000.0 virtual_protect 1 0A8C: write_memory 13155216 size 4 value 1000.0 virtual_protect 1 end if and 82D8: actor $PLAYER_ACTOR current_weapon == 24 30@ == 1 then 30@ = 0 0A8C: write_memory 13157456 size 4 value 1@ virtual_protect 1 0A8C: write_memory 13157680 size 4 value 2@ virtual_protect 1 0A8C: write_memory 13158128 size 4 value 3@ virtual_protect 1 0A8C: write_memory 13158240 size 4 value 4@ virtual_protect 1 0A8C: write_memory 13158352 size 4 value 5@ virtual_protect 1 0A8C: write_memory 13158464 size 4 value 6@ virtual_protect 1 0A8C: write_memory 13158576 size 4 value 7@ virtual_protect 1 0A8C: write_memory 13157568 size 4 value 8@ virtual_protect 1 0A8C: write_memory 13157792 size 4 value 9@ virtual_protect 1 0A8C: write_memory 13157904 size 4 value 10@ virtual_protect 1 0A8C: write_memory 13158016 size 4 value 11@ virtual_protect 1 0A8C: write_memory 13154656 size 4 value 12@ virtual_protect 1 0A8C: write_memory 13154768 size 4 value 13@ virtual_protect 1 0A8C: write_memory 13155216 size 4 value 14@ virtual_protect 1 end end