[Sanny Builder] Making a CLEO
#1

I'm making a cleo, this cleo type msj in chat when a target a player with a gun.

This is the cleo code:

Код:
{$CLEO .cs}             

0000: "/id"

:idapuntar
wait 1000
if and 
0AD2: 0@ = player $PLAYER_CHAR targeted_char
0AB0: 66                      
jf @idapuntarcmd
0B2B: samp 1@ = get_player_id_by_CHAR_handle 0@
0B36: samp 2@ = get_player_nickname 1@
0AF9: samp say_msg "/id %d" 1@

:idapuntarcmd
jump @idapuntar}
So, i need only work if i see the nickname over the other player, if i don't see the name show the message "You need close to the player to see the /id", їAnyone can help me?

Sory for my bad english.
Reply


Messages In This Thread
[Sanny Builder] Making a CLEO - by TheDjCody - 13.10.2018, 17:18
Re: [Sanny Builder] Making a CLEO - by TheDjCody - 15.10.2018, 20:30
Re: [Sanny Builder] Making a CLEO - by g1venchy - 15.10.2018, 20:38
Re: [Sanny Builder] Making a CLEO - by TheDjCody - 15.10.2018, 20:41

Forum Jump:


Users browsing this thread: 2 Guest(s)