CLEO Help ID gets empty everytime i drag it

CLEO related
Status
Not open for further replies.

Panadol

Member
Joined
Aug 28, 2017
Messages
6
Reaction score
0
I got that script that it drags the ID of a player when you aim at him , but the issue is when i try to print it on samp chat it shows up empty as nothing like this * * as escape . i tried 2 or 3 scripts one on my own but i still have the same issue . Can i get some help ? i heard the problem might be from my green triangle or something please help


PHP:
{$CLEO .cs}

0000: NOP
thread "GO"

REPEAT
    WAIT 100
UNTIL  0AFA: is_samp_available

WHILE TRUE
    WAIT 0
    IF
        0AD2: 0@ = player $PLAYER_CHAR targeted_actor
    THEN
        0B2B: samp 1@ = get_player_id_by_actor_handle 0@

        IF
            0AB0: key_pressed 49
        THEN
            0AF9: samp say_msg "%i" 1@ 
            wait 500
        END
    END           
END
 

Panadol

Member
Joined
Aug 28, 2017
Messages
6
Reaction score
0
so before it gives nothing , like it sends empty message : example : Player :
now it gives this after i did replace with
0AF9: samp say_msg "ID: %d" 1@
 

Attachments

  • ezraa.png
    ezraa.png
    16.2 KB · Views: 9
Status
Not open for further replies.
Top