03.11.2009, 07:27
Hi, im wondering can you get two colours into a Clientmessage/ format
prob a newb question but meh
like this
Hope this made sense
Thanks
prob a newb question but meh
like this
pawn Код:
new test[MAX_PLAYERS];
public OnPlayerText(playerid, text[])
{
if(test[playerid] == 1)
{
new string[128];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s[Test]: %s", name, text); //Players name to be a colour, and the text to be default white
SendClientMessageToAll(dunno,string);
return 0;
}
return 1;
}
Thanks