25.05.2018, 11:11
Oh it isn't? Sorry for that.
anyways I can't get that to work SeanDenZYR....
Anyways to explain what I need again...
Like it will be sent to an irc channel, not to an admin or whatsoever.
For example I would like to send to an irc channel named #management
I have this:
Now that sends the messege to the set "IRC_ADMINCHANNEL" example is management.... What I would like to know is how if its a player used like "/pm 0 Hi dude". I would like that message to appear on that IRC_ADMINCHANNEL which is #managament like: "PlayerName[id] typed the command /pm 0 Hi dude.
anyways I can't get that to work SeanDenZYR....
Anyways to explain what I need again...
Like it will be sent to an irc channel, not to an admin or whatsoever.
For example I would like to send to an irc channel named #management
I have this:
Код:
new adminstring[144]; if(isnull(params)) return SendClientMessage(playerid, -1,"*"COL_GREY" USAGE: /ad [message]") && SendClientMessage(playerid, -1,"*"COL_GREY" FUNCTION: Use admin chat"); format(adminstring, sizeof(adminstring), "* "COL_LIGHTGREEN"[Admin Chat] %s(%d): "COL_WHITE"%s", pInfo[playerid][pUsername], playerid, params); SendMessageToAllAdmins(adminstring, -1); format(adminstring, sizeof(adminstring), "\x0206[Admin Chat]\x02 \x1D%s[%d]\x1D: %s", pInfo[playerid][pUsername], playerid, params); IRC_GroupSay(gGroupID, IRC_ADMINCHANNEL, adminstring); return CMD_SUCCESS;