CLEO Help How to make cleo script on player nickname;\

CLEO related
Status
Not open for further replies.
Joined
Oct 27, 2020
Messages
6
Reaction score
0
Location
GB
Hello there who can help me to add a nickname to my script. Because i dont know how;\ Like the script is on Saiyan_Vegeta and other player use it with nickname aaa_aaa the script would not work for him so who can help me? ;\\

@Edvincik @springfield
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,103
Solutions
5
Reaction score
882
Location
Lithuania
1. Get user name
2. Compare user name and name which you use to compare.
3. If compare is true then let code work otherwise block it.
 

blvck0v

Active member
Joined
Feb 23, 2019
Messages
97
Reaction score
51
Location
ugbase.eu
Code:
{$CLEO .cs}
0000: NOP
thread "FakeCrash"
//bY M1Zg4RD

wait 4500

while true
    wait 0
    0B2B: 0@ = $player_actor
    0B36: 1@ = 0@
    if 0C14: 1@ "name"
    then   
        if and
            key_down 66 // B
            key_down 88 // X
        then
            0AA5: call 8535003 3 pop 3 0 0 0  // - QUIT GAME
        end
    end
end

replace "name" with whatever you need, don't troll your friends with this shitty script and keep the credits
 
Joined
Oct 27, 2020
Messages
6
Reaction score
0
Location
GB
Code:
{$CLEO .cs}
0000: NOP
thread "FakeCrash"
//bY M1Zg4RD

wait 4500

while true
    wait 0
    0B2B: 0@ = $player_actor
    0B36: 1@ = 0@
    if 0C14: 1@ "name"
    then  
        if and
            key_down 66 // B
            key_down 88 // X
        then
            0AA5: call 8535003 3 pop 3 0 0 0  // - QUIT GAME
        end
    end
end

replace "name" with whatever you need, don't troll your friends with this shitty script and keep the credits
ummmm its not working what i can say ;\ when i set on my self name and its not working
 

blvck0v

Active member
Joined
Feb 23, 2019
Messages
97
Reaction score
51
Location
ugbase.eu
I only tested the script to work on name, i commented out that thing of yours - "0AA5: call 8535003 3 pop 3 0 0 0 // - QUIT GAME"
As Parazitas says if it doesn't work it's probably because of that, he just gave you the answer to fix it so good luck.
 
Status
Not open for further replies.
Top