Chat problem! +Rep
#4

pawn Код:
public OnPlayerText(playerid, text[])
{
    new string[128];
    format(string,sizeof(string),"%s: %s",RemoveUnderScore(playerid),text);
    NearMessageSender(playerid, 8, string, COLOR_FADE2,COLOR_FADE2,COLOR_FADE2,COLOR_FADE2,COLOR_FADE2);
   
    new textv2[128];
    if(IsMasked[playerid] == true)
    {
    format(textv2, sizeof (textv2), "Stranger says: %s",text);
    NearMessageSender(playerid, 8, textv2, COLOR_FADE2,COLOR_FADE2,COLOR_FADE2,COLOR_FADE2,COLOR_FADE2);
    return 1;
    }
    else
    if(IsMasked[playerid] == false)
    {
    return 1;
    }
    return 1;
}
Reply


Messages In This Thread
Chat problem! +Rep - by Dizzle - 11.12.2014, 20:15
Re: Chat problem! +Rep - by Divergent - 11.12.2014, 20:18
Re: Chat problem! +Rep - by Dizzle - 11.12.2014, 21:06
Re: Chat problem! +Rep - by Clad - 11.12.2014, 21:13
Re: Chat problem! +Rep - by Dizzle - 11.12.2014, 21:25
Re: Chat problem! +Rep - by DaniceMcHarley - 11.12.2014, 21:27
Re: Chat problem! +Rep - by Divergent - 11.12.2014, 21:57

Forum Jump:


Users browsing this thread: 1 Guest(s)