Resource icon

CLEO Release 7HPTimeout.cs

CLEO related
Status
Not open for further replies.

Monstercat

Well-known member
Joined
Feb 26, 2013
Messages
281
Reaction score
6
I was bored, so I've made this 7HPTimeout.cs

If your health drops below "8" your game will be Closed.

Type "HP" to Activate/Deactivate

Source:
Code:
{$CLEO .cs}
0000:

0@ = 0
WHILE TRUE
    WAIT 0
    if or
    0ADC: TYPING "HP"    
    0AB0: 88
    then
        if 
        0@ == 0
        then
            0@ = 1
            018C: play_sound 1083 at 0.0 0.0 0.0
            0ACD: show_text_highpriority "7HPTimeout.cs ~G~Enabled" time 1337
        else
            0@ = 0
            018C: play_sound 1084 at 0.0 0.0 0.0
            0ACD: show_text_highpriority "7HPTimeout.cs ~R~Disabled" time 1337  
        end
        WAIT 350
    end
    if
    0@ == 1
    then    
    0226: 1@ = actor $PLAYER_ACTOR health
        if
        1@ < 8
        then
        0AA5: call 0x823BDB Shutdown_a_game num_params 3 pop 3 0 0 0
        0AA5: call 0x82499B Shutdown_a_game num_params 3 pop 3 0 0 0
        end
    end
END
 

Attachments

  • 7HPTimeout.cs
    18.2 KB · Views: 212

H/K3R_

Active member
Joined
Apr 19, 2013
Messages
55
Reaction score
0
its good, what it says to the server timeout or quit ?
 

reowin

Active member
Joined
May 14, 2013
Messages
39
Reaction score
0
what if you get blasted with a spas or something i doubt this will work but sometimes it will depends on how sudden your getting shot and such prob
 

Faggot

New member
Joined
May 24, 2014
Messages
1
Reaction score
0
How to remove activation on X ?
I tried to remove it but
kEXbcfq.png
 

blackHat

Expert
Joined
Jul 28, 2013
Messages
930
Reaction score
2
lol good idea, but you may get warned when you back for exit to avoid death :p
 
Status
Not open for further replies.
Top