Question?
#10

Quote:
Originally Posted by [GF]Sasino97
Посмотреть сообщение
Put that at the end:

pawn Код:
stock GetNameEx(playerid)
{
    new str[24], String[128];
    GetPlayerName(playerid, String, 24);
    strmid(str, String, 0, strlen(String), 24);
    for(new i = 0; i < MAX_PLAYER_NAME; i++)
    {
        if (str[i] == '_') str[i] = ' ';
    }
    return str;
}
and that under OnPlayerText

pawn Код:
new name[24];
name = GetNameEx(playerid);
new string[128];
format(string,sizeof(string),"%s: {FFFFFF}%s", name, text);
return SendClientMessageToAll(GetPlayerColor(playerid), string), 0;
Thanks goes
Reply


Messages In This Thread
Question? - by GeonMake - 14.06.2011, 23:54
Re: Question? - by jot16 - 14.06.2011, 23:57
Re: Question? - by Scenario - 15.06.2011, 00:33
Re: Question? - by GeonMake - 15.06.2011, 01:16
Re: Question? - by Scenario - 15.06.2011, 01:24
Re: Question? - by GeonMake - 15.06.2011, 01:52
Re: Question? - by Scenario - 15.06.2011, 02:07
Re: Question? - by GeonMake - 15.06.2011, 10:19
Re: Question? - by Sasino97 - 15.06.2011, 11:07
Re: Question? - by GeonMake - 15.06.2011, 11:40

Forum Jump:


Users browsing this thread: 4 Guest(s)