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