CLEO Help help cleo auto-disconnect 50hp

CLEO related
Status
Not open for further replies.

opce

Active member
Joined
Dec 11, 2014
Messages
61
Reaction score
0
i don't know why when i type nodie cleo mod is activate but when i have in game 50hp i dont auto-disconnect and reconnect in game just die and respawn without gun ? please help here code  :sadpepe:

0000:
0662: printstring "Made by Noob213"
0662: printstring "For ugbase.eu"
0@ = 0

var
4@: int
5@: int
end // var

while not samp.Available()
wait 400
end

while true
    wait 0
    if 
    0ADC:   test_cheat "nodie"
    then
        if
        0@ == 0
        then
            0@ = 1
            0AD1: show_formatted_text_highpriority "~g~NODIE ON" time 1500
            wait 200
        else
            0@ = 0
            0AD1: show_formatted_text_highpriority "~r~NODIE OFF" time 1500
            wait 200
        end
    end
        if 
        0@ == 1
        then
            0AF0: 5@ = get_int_from_ini_file "cleo\10hp-d.ini" section "Settings" key "HP"
            0226: 4@ = actor $PLAYER_ACTOR health     
        if
        4@ <= 5@
        then
            0B28: samp disconnect_with_reason 0
            wait 2500
            0223: set_actor $PLAYER_ACTOR health_to 100
            wait 1000
            0B27: samp set_gamestate 1
            end
        end
    end#  __SBFTR


i think code, is fucked up noob213 deleted, cleo from here idk.
 

Mila.cs ✅

Well-known member
Joined
Jun 24, 2016
Messages
247
Reaction score
10
Location
̀́̀́
You can try mine:

Activation/Deactivation: /ak

It doesn't disconnect you, therefore it has a higher detection rate.




Did you create a .ini file for the other Cleo?
 

Attachments

  • ak.cs
    18.8 KB · Views: 45

Deddosouru

Active member
Joined
May 4, 2016
Messages
27
Reaction score
1
Location
Russia
try dis
{$CLEO .cs}
0000: script_will_steal_your_soul

repeat
wait 0
until samp.Available()


while true
   wait 0
   0AF0: 5@ = get_int_from_ini_file "cleo\10hp-d.ini" section "Settings" key "HP"
   0226: 4@ = actor $PLAYER_ACTOR health
   if
       0ADC:   test_cheat "noobie"
   then
       0B12: 0@ = 0@ XOR 1
   end
   if
       0@ == 1
   then
       if
           0025:   5@ > 4@  // (float)
       then
           0B28: samp disconnect_with_reason 0
           wait 2500
           0223: set_actor $PLAYER_ACTOR health_to 100
           wait 1000
           0B27: samp set_gamestate 1
       end
   end
end
reason 1 will make server think that you crashed btw
 

Mila.cs ✅

Well-known member
Joined
Jun 24, 2016
Messages
247
Reaction score
10
Location
̀́̀́
Deddosouru said:
try dis
{$CLEO .cs}
0000: script_will_steal_your_soul

repeat
wait 0
until samp.Available()


while true
   wait 0
   0AF0: 5@ = get_int_from_ini_file "cleo\10hp-d.ini" section "Settings" key "HP"
   0226: 4@ = actor $PLAYER_ACTOR health
   if
       0ADC:   test_cheat "noobie"
   then
       0B12: 0@ = 0@ XOR 1
   end
   if
       0@ == 1
   then
       if
           0025:   5@ > 4@  // (float)
       then
           0B28: samp disconnect_with_reason 0
           wait 2500
           0223: set_actor $PLAYER_ACTOR health_to 100
           wait 1000
           0B27: samp set_gamestate 1
       end
   end
end
reason 1 will make server think that you crashed btw

What did you change besides the activation?
 

noob213

Active member
Joined
Sep 15, 2017
Messages
88
Reaction score
6
[attachment=5189] will be disconnected in exactly 50 hp
[attachment=5190] will be disconnected if it is less than or equal to 10

do not delete it just modify the publication but the moderator has not approved it xd
 

Attachments

  • 50hp-d.cs
    18.4 KB · Views: 48
  • 10-hp-d.zip
    7.3 KB · Views: 60

opce

Active member
Joined
Dec 11, 2014
Messages
61
Reaction score
0
noob213 said:
 will be disconnected in exactly 50 hp
 will be disconnected if it is less than or equal to 10

do not delete it just modify the publication but the moderator has not approved it xd

if this [font=-apple-system, BlinkMacSystemFont, Roboto,]w[/font]ork i [font=-apple-system, BlinkMacSystemFont, Roboto,]w[/font]ill fuck ur dick xD


opce said:
noob213 said:
 will be disconnected in exactly 50 hp
 will be disconnected if it is less than or equal to 10

do not delete it just modify the publication but the moderator has not approved it xd

if this [font=-apple-system, BlinkMacSystemFont, Roboto,]w[/font]ork i [font=-apple-system, BlinkMacSystemFont, Roboto,]w[/font]ill fuck ur dick xD how to activated in 50hp type nodie?
 

Deddosouru

Active member
Joined
May 4, 2016
Messages
27
Reaction score
1
Location
Russia
Mila.cs ✅ said:
Deddosouru said:
try dis
{$CLEO .cs}
0000: script_will_steal_your_soul

repeat
wait 0
until samp.Available()


while true
   wait 0
   0AF0: 5@ = get_int_from_ini_file "cleo\10hp-d.ini" section "Settings" key "HP"
   0226: 4@ = actor $PLAYER_ACTOR health
   if
       0ADC:   test_cheat "noobie"
   then
       0B12: 0@ = 0@ XOR 1
   end
   if
       0@ == 1
   then
       if
           0025:   5@ > 4@  // (float)
       then
           0B28: samp disconnect_with_reason 0
           wait 2500
           0223: set_actor $PLAYER_ACTOR health_to 100
           wait 1000
           0B27: samp set_gamestate 1
       end
   end
end
reason 1 will make server think that you crashed btw

What did you change besides the activation?
well, yup. didn't made sum changes
 

WaTTi

Well-known member
Joined
Jan 4, 2015
Messages
260
Reaction score
8
im boredsorry

Code:
{$CLEO .cs}
0000:COUSEIDONTHAVENOTHINGTODOSOSAD
const
thefile = "cleo\10hp-d.ini"
lavida = 0@
minecraft = 1@
mivida = 2@
end
minecraft = true //enabled
while 8AFA: samp is dead
wait 0
end

if 8AAB:   file_exists thefile
then 0AF1: write_int 50 to_ini_file thefile section "Settings" key "HP"
end
0AF0: lavida = get_int_from_ini_file thefile section "Settings" key "HP"

while TRUE
wait 0
    if 0256: 0
    then
        if 0ADC: "hitlerdidnothingwrong"
        then
            0B12: minecraft = minecraft XOR 1
            if minecraft == 0
            then print "shit enabled" 1000
            else print "shit disabled" 1000
            end
        end
        if minecraft == true
        then
            0226: mivida = actor $PLAYER_ACTOR health
            if 001D: lavida > mivida
            then
                print "youredead:(" 1000
                0223: set_actor $PLAYER_ACTOR health_to lavida
                0B28: samp disconnect_with_reason 1
                wait 2000
                0B27: samp set_gamestate 1
                wait 2000
            end
        end
    end
end
 
Status
Not open for further replies.
Top