CLEO Help ON/OFF Function .cs mod

CLEO related
Status
Not open for further replies.

QSTYLEZZ

Active member
Joined
Oct 19, 2014
Messages
117
Reaction score
0
Hello

I have a working cbug, but it hasnt an on/off function, could someone make one?
 

Attachments

  • Cbug.cs
    17.8 KB · Views: 33

rebootsrl

Member
Joined
Mar 16, 2014
Messages
18
Reaction score
0
Here it is.

Script

Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
thread "CBUG" 
1@ = 0

:CBUG_1
wait 0 
if 
0ADC:   test_cheat "CBUG" 
jf @CBUG_2 
if 
  1@ == 0 
jf @CBUG_3 
1@ = 1 
print "~G~AUTO~W~ CBUG ENABLED." 2000 
goto @CBUG_2 

:CBUG_3
1@ = 0 
print "~R~AUTO~W~ CBUG DISABLED." 2000 

:CBUG_2
if 
  1@ == 1 
jf @CBUG_1 
if or
02E0:   actor $PLAYER_ACTOR firing_weapon 
key_down 1 
jf @CBUG_4 
0A8C: write_memory 12006520 size 2 value 255 virtual_protect 0 
wait 60 
0812: AS_actor $PLAYER_ACTOR perform_animation "HIT_WALK" IFP "PED" framedelta 4.0 loopA 0 lockX 1 lockY 1 lockF 0 time 1 // versionB 

:CBUG_4
goto @CBUG_1
 

Attachments

  • cbug.cs
    18.1 KB · Views: 42

QSTYLEZZ

Active member
Joined
Oct 19, 2014
Messages
117
Reaction score
0
Rebo link said:
Here it is.

Script

Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
thread "CBUG" 
1@ = 0

:CBUG_1
wait 0 
if 
0ADC:   test_cheat "CBUG" 
jf @CBUG_2 
if 
  1@ == 0 
jf @CBUG_3 
1@ = 1 
print "~G~AUTO~W~ CBUG ENABLED." 2000 
goto @CBUG_2 

:CBUG_3
1@ = 0 
print "~R~AUTO~W~ CBUG DISABLED." 2000 

:CBUG_2
if 
  1@ == 1 
jf @CBUG_1 
if or
02E0:   actor $PLAYER_ACTOR firing_weapon 
key_down 1 
jf @CBUG_4 
0A8C: write_memory 12006520 size 2 value 255 virtual_protect 0 
wait 60 
0812: AS_actor $PLAYER_ACTOR perform_animation "HIT_WALK" IFP "PED" framedelta 4.0 loopA 0 lockX 1 lockY 1 lockF 0 time 1 // versionB 

:CBUG_4
goto @CBUG_1

how to activate it? :D
 
Status
Not open for further replies.
Top