OnplayerText..
#7

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
pawn Код:
public OnPlayerText(playerid, text[])
{
    new
        chat[144],
        pname[21];
   
    GetPlayerName(playerid, pname, sizeof (pname));
    format(chat, sizeof (chat), "%d {%06x}%s{FFFFFF}: %s", playerid, GetPlayerColor(playerid) >>> 8, pname, text);
    SendClientMessageToAll(-1, chat);
    return 0;
}
A note: GetPlayerColor will return nothing unless SetPlayerColor has been used!
Thanks friend, it works! ++;
Reply


Messages In This Thread
OnplayerText.. - by Snoopythekill - 24.04.2014, 08:31
Re: OnplayerText.. - by RajatPawar - 24.04.2014, 08:33
Respuesta: Re: OnplayerText.. - by Snoopythekill - 24.04.2014, 08:39
Re: Respuesta: Re: OnplayerText.. - by RajatPawar - 24.04.2014, 08:40
Respuesta: Re: Respuesta: Re: OnplayerText.. - by Snoopythekill - 24.04.2014, 08:57
Re: OnplayerText.. - by Konstantinos - 24.04.2014, 10:22
Respuesta: Re: OnplayerText.. - by Snoopythekill - 24.04.2014, 23:08

Forum Jump:


Users browsing this thread: 1 Guest(s)