OnPlayerText & Colour Problems
#3

Quote:
Originally Posted by Jefff
Посмотреть сообщение
pawn Код:
CheckTAG(playerid)
{
    new Nick[MAX_PLAYER_NAME + 1],string[55];
    GetPlayerName(playerid,Nick,sizeof(Nick));
    if(!strcmp(Nick,"[GC]",true,4))
    {
        string = "{FF0000}[G{FFFF00}C]{33CCFF}";
        strcat(string, Nick[4]);
        return string;
    }
    strcat(string,Name);
    return string;
}
and

pawn Код:
format(string,sizeof(string),"%s@: %s",CheckTAG(playerid),text[1]);
+repped Thanks
Reply


Messages In This Thread
OnPlayerText & Colour Problems - by Toxik - 13.08.2015, 18:05
Re: OnPlayerText & Colour Problems - by Jefff - 13.08.2015, 20:13
Re: OnPlayerText & Colour Problems - by Toxik - 13.08.2015, 23:12

Forum Jump:


Users browsing this thread: 1 Guest(s)