CLEO Help delete

CLEO related
Status
Not open for further replies.

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
Re: add activation/deactivation cleo

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
 

UG-BASE

Active member
Joined
Apr 20, 2015
Messages
40
Reaction score
0
Re: add activation/deactivation cleo

monday 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
thx
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
272
And just so others can see what a fuckin' shit you are;

https://ugbase.eu/requests-10/(req)-update-to-samp-0-3-7-this-cleo/
https://ugbase.eu/help-7/problem-with-cleo/
https://ugbase.eu/help-7/help-14026/
https://ugbase.eu/requests-10/(req)-easy-cleo/
https://ugbase.eu/requests-10/dumper-cs/
https://ugbase.eu/help-7/to-0-3-7-update/
https://ugbase.eu/help-7/update-(0-3-7)/
https://ugbase.eu/help-27/(c)-autoreconnect/
https://ugbase.eu/help-7/why-don't-work-on-0-3-7-16313/
 
Status
Not open for further replies.
Top