CLEO Help Change Name Help!

CLEO related
Status
Not open for further replies.

Husnain

Well-known member
Joined
May 20, 2016
Messages
228
Reaction score
9
Location
Mars
There is a offset that changes the Player Name: SetPlayerName = 0x1A4F0 

I tried to work it with it's keep crashing. Will anyone help me!


PHP:
{$CLEO .cs}
0000:

0AC8: 15@ = 260
0AD3: 15@ = "Big_Dick" // name 

:Load
wait 0
if
  0AA2: 0@ = load_library "samp.dll" // IF and SET
jf @Load
0@ += 0x1A4F0 
0AA7: call_function 0@ num_params 1 pop 0 15@

end_thread

Tell me if there's something wrong with the script!
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Husnain said:
There is a offset that changes the Player Name: SetPlayerName = 0x1A4F0 

I tried to work it with it's keep crashing. Will anyone help me!


PHP:
{$CLEO .cs}
0000:

0AC8: 15@ = 260
0AD3: 15@ = "Big_Dick" // name 

:Load
wait 0
if
  0AA2: 0@ = load_library "samp.dll" // IF and SET
jf @Load
0@ += 0x1A4F0 
0AA7: call_function 0@ num_params 1 pop 0 15@

end_thread

Tell me if there's something wrong with the script!

:LOL: :LOL: :LOL:

That's the memory address  of an incoming RPC which I think you got from here(http://ugbase.eu/Thread-COLLECTION-OF-0-3-7-0-OFFSETS?pid=73769#pid73769), you can't use it like this  :areyoukiddingme:
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Change your name and then send a reconnect request, that way your name will not only change but will be synced with the server too.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
[shcode=cpp]
{$CLEO}

THREAD "NC"

REPEAT
WAIT 0
UNTIL SAMP.AVAILABLE()

0B34: "nc" @NC

WHILE TRUE
WAIT 0
END

:NC
WAIT 0
0B35: 0@
IF
0AD4: 1@ = 0@ "%s" 6@v
THEN
0B29: 6@v
ALLOC 3@ 70
ALLOC 4@ 70
0B39: 3@ 4@
0B38: 3@ 4@
FREE 3@
FREE 4@
END
CMDRET
[/shcode]
 
Status
Not open for further replies.
Top