SA-MP Forums Archive
Chat problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Chat problem (/showthread.php?tid=368248)



Chat problem - Raphy - 12.08.2012

Hello, please tell me how to solve this problem. I set it so text written by admins is a specific color on my servers and when they type something long the second row is white.
Here's a picture so you can better understand what I'm saying:


The script:
pawn Код:
if(PlayerInfo[playerid][Level] >= 1)
 {
       new messagetext[1024];
    format(messagetext, 1024, "{ff0000}(ID:%d): {00ff00}%s", playerid, text);
    SendPlayerMessageToAll(playerid, messagetext);
       return 0;
    }