Resource icon
CLEO related
Status
Not open for further replies.

Tultras

Member
Joined
May 19, 2013
Messages
20
Reaction score
0
[youtube:2v0074rf]http://www.youtube.com/watch?v=IwQFUPKOexk[/youtube:2v0074rf]

Ping script displays over players (slow update). Activation / deactivation: /gping

Code:
{$CLEO .cs}
0662: NOP "CLEO : gPing"
0662: NOP "gcode: acheats.ru : blasthack.net"
thread "gping"

if
    8AF7: get_samp_base_to 33@
then
    0A93: end_custom_thread
end
repeat
    wait 400
until 0AFA: is_samp_structures_available

0AF8: samp add_message_to_chat "[gPing]: {EAEAEA}??????? {e86c7c}/gping{EAEAEA}, ????? ?????????? ???? ??? ????????." 0xe86c7c
0AF8: samp add_message_to_chat "[gPing]: {EAEAEA}??? {e86c7c}acheats.ru {EAEAEA}? {e86c7c}blasthack.net" 0xe86c7c
0B34: samp register_client_command "gping" to_label @gping
0AC8: 0@ = allocate_memory_size 4096
0B2B: samp 1@ = get_player_id_by_actor_handle $PLAYER_ACTOR

while true
    wait 0
    while 30@ == 1
        wait 0
        for 29@ = 0 to 999 
                wait 0
                if 
                    003B:   29@ == 1@ 
                then
                    Continue
                end
                0C0E: 28@ = array 0@ element 29@
                if
                    0B46: samp 3d_text 28@ defined 
                then
                    0B45: samp destroy_3d_text 28@
                end
                if  
                    0B23: samp is_player_connected 29@
                then
                    if 
                        0B20: samp 28@ = actor_handle_from_samp_playerid 29@
                    then
                            0B2A: samp 28@ = get_player_ping 29@ 
                            0AC8: 27@ = allocate_memory_size 32
                            0AD3: 27@ = format "????: %d" 28@
                            0B44: samp 28@ = create_3d_text 27@ color 0xCCEAEAEA position 0.0 0.0 0.25 view_distance 300.0 show_behind_walls true attached_to_player 29@ attached_to_vehicle -1
                            0AC9: free_allocated_memory 27@
                            0C0F: array 0@ element 29@ = 28@
                    end
                end
                if
                    30@ == 0
                then
                    Break
                end
        end
    end
    while 30@ == 0
        wait 0
        for 29@ = 0 to 999 
                wait 0
                if 
                    003B:   29@ == 1@ 
                then
                    Continue
                end
                0C0E: 28@ = array 0@ element 29@
                if
                    0B46: samp 3d_text 28@ defined 
                then
                    0B45: samp destroy_3d_text 28@
                end
                if
                    30@ == 1
                then
                    Break
                end
        end 
    end
end 

:gping
if
    30@ == 1 
then
    30@ = 0
    0AF8: samp add_message_to_chat "[gPing]: {EAEAEA}?????????????." 0xe86c7c
else
    30@ = 1
    0AF8: samp add_message_to_chat "[gPing]: {EAEAEA}???????????." 0xe86c7c
end
0B43: samp cmd_ret

http://www.mediafire.com/?wgnck1414fb4hl7
 

Hansin

Active member
Joined
Feb 25, 2013
Messages
169
Reaction score
0
What Does It Do ?
Lol you see in the video Went he type /gping you can see Another players ping (On his head)
 

Wut

Well-known member
Joined
Mar 1, 2013
Messages
338
Reaction score
1
Warning opcode 0b34 when i want to compile it
And my cursor points to 0B34: samp register_client_command "gping" to_label @gping
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Warning opcode 0b34 when i want to compile it
And my cursor points to 0B34: samp register_client_command "gping" to_label @gping

You need sampfuncs SB data, with the updated opcodes.txt 'witch' contains that opcode.
 

iAnthony

Moderator
Moderator
Joined
Nov 15, 2013
Messages
590
Reaction score
3
I get flood with opcodes as soon as i join the a server
 
Status
Not open for further replies.
Top