Need help changing the IRC message but not the In-Game message.
#1

pawn Код:
{
        new string[128];
        format(string, sizeof string, "{BABABA}[%d]{FFFFFF} %s", playerid, text);
        SendPlayerMessageToAll(playerid, string);
        IRC_GroupSay(gGroupID, IRC_CHANNEL, string);
        IRC_GroupSay(gGroupID2, IRC_ADMINCHANNEL, string);
    }
When I use this it says the ID of a player like it should but in the IRC it shows up like this:

{BABABA}[%d]{FFFFFF} <And what I say>

It dont show my name and it shows the color code instead of a color and it dont show the ':' between the ID and the message I send.

Does anyone know how to fix this?
Reply
#2

You can't send a sa-mp color code to an IRC client and expect it will understand you...
Reply
#3

Quote:
Originally Posted by Rob_Maate
Посмотреть сообщение
You can't send a sa-mp color code to an IRC client and expect it will understand you...
What I want is it to send for example this: OleKristian95: [ID] [Message]
But instead it sends the color code and the text I write only.
Reply
#4

Problem Solved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)