erichoward
Member
I want to know how to get the ID of the last hit person ( the last person I hit with my gun)
{$CLEO}
0000: NOP
:Start
wait 6000
SAMP.Available
else_jump @Start
0AF8: samp add_message_to_chat "{FFFFFF}Auto Badge cleo by{FFFF00} Eric{FFFF00}"
0AF8: samp add_message_to_chat "{FF0000}DO NOT{FFFFFF} use this cleo to modify it or add anything to it{FFFFFF}"
wait 50
if
0AD2: 0@ = player $PLAYER_CHAR targeted_actor
wait 100
0AF9: samp say_msg "/badge"
wait 1000
targeted_actor
with 0B37
-> and get your color aswell ($PLAYER_ACTOR) and just compare them (if they match -> dont do anything else do /badge or what ever you want).well i am a starter, so it would be better if you can do it, i would appreciate thatSo you really maybe should start explaining what you want precisely, because I literally dont understand any shit you are trying to explain us.
If you want to know WHO is shooting at you, you will need to hook the same way as I told you in the second post but for INCOMING packet.
If you want to ignore specific players (as example if their color matches with yours) -> Get the color oftargeted_actor
with0B37
-> and get your color aswell ($PLAYER_ACTOR) and just compare them (if they match -> dont do anything else do /badge or what ever you want).
yo nigz need to start doing it yourself instead of keep asking for pasta.
and you will stay a starter if you dont even try anything on your own.well i am a starter, so it would be better if you can do it, i would appreciate that