Score and name tittles
#2

Use something like this in OnPlayerText;
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);
It will show the text you wanted when he talk, but name will be normal in tab list.
Reply


Messages In This Thread
Score and name tittles - by Twinki1993 - 12.01.2012, 21:41
Re: Score and name tittles - by Richie - 12.01.2012, 22:21
Re: Score and name tittles - by Twinki1993 - 12.01.2012, 22:33
Re: Score and name tittles - by Richie - 12.01.2012, 22:54
Re: Score and name tittles - by Twinki1993 - 12.01.2012, 23:20
Re: Score and name tittles - by Richie - 12.01.2012, 23:26
Re: Score and name tittles - by Twinki1993 - 12.01.2012, 23:28
Re: Score and name tittles - by Twinki1993 - 12.01.2012, 23:30
Re: Score and name tittles - by Richie - 12.01.2012, 23:34
Re: Score and name tittles - by Vince - 12.01.2012, 23:35

Forum Jump:


Users browsing this thread: 2 Guest(s)