Chat Color,idcolor, name Color for VIP (RGB)
#6

Quote:
Originally Posted by Adityz
Посмотреть сообщение
for the name color you can just use SetPlayerColor.
Here's an example of its usage -

pawn Код:
SetPlayerColor(playerid, 0x00FF00C8);
And for the id and text Color -
pawn Код:
public OnPlayerText(playerid, text[])
{
    new msg[128];
    format(msg, sizeof(msg), "{00FF00} (%d) %s", playerid, text); // Replace '{00FF00}' with your preffered RGB code.
    SendPlayerMessageToAll(playerid, msg);

    return 0;
}
Thus It'll change your name color, ID color and text color to green. You can replace your color with the ones i provided.
players not vip can use it?

example cmds:
/chatcolor <RGB> <RGB> <RGB>
Reply


Messages In This Thread
Chat Color,name Color for VIP (RGB) - by PowerF - 30.06.2014, 07:26
Re: Chat Color,idcolor, name Color for VIP (RGB) - by PowerF - 30.06.2014, 07:46
Re: Chat Color,idcolor, name Color for VIP (RGB) - by iThePunisher - 30.06.2014, 07:48
Re: Chat Color,idcolor, name Color for VIP (RGB) - by Adityz - 30.06.2014, 07:51
Re: Chat Color,idcolor, name Color for VIP (RGB) - by PowerF - 30.06.2014, 07:54
Re: Chat Color,idcolor, name Color for VIP (RGB) - by PowerF - 30.06.2014, 07:56
Re: Chat Color,idcolor, name Color for VIP (RGB) - by PowerF - 30.06.2014, 08:29
Re: Chat Color,idcolor, name Color for VIP (RGB) - by PowerF - 30.06.2014, 08:51
Re: Chat Color,idcolor, name Color for VIP (RGB) - by PowerF - 01.07.2014, 01:55

Forum Jump:


Users browsing this thread: 1 Guest(s)