12.01.2012, 22:21
(
Последний раз редактировалось Richie; 12.01.2012 в 22:56.
)
Use something like this in OnPlayerText;
It will show the text you wanted when he talk, but name will be normal in tab list.
pawn Код:
new Rank[20];
switch(GetPlayerScore(playerid))
{
case 0 .. 10: format(Rank, sizeof(Rank),"[Newbie]");
case 11 .. 20: format(Rank, sizeof(Rank),"[Beginner]");
//etc..
}
new ChatText[128], Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, MAX_PLAYER_NAME);
format(ChatText, sizeof(ChatText),"%s %s: %s", Rank, Name, text);
SendClientMessageToAll(-1, ChatText);