08.09.2013, 12:12
Hello mates I found this command to use to chat to other players in-game its !say but I wanna be able to talk without using that command just typing the word in there and it will also show in-game im posting the cmd maybe it will help in some way please help me guys with this.
Код:
IRCCMD:say(botid, channel[], user[], host[], params[]) { // Check if the user has at least voice in the channel if (IRC_IsVoice(botid, channel, user)) { // Check if the user entered any text if (!isnull(params)) { new msg[128]; // Echo the formatted message format(msg, sizeof(msg), "02*** %s on IRC: %s", user, params); IRC_GroupSay(groupID, channel, msg); format(msg, sizeof(msg), "*** %s on IRC: %s", user, params); SendClientMessageToAll(0x0000FFFF, msg); } } return 1; }