/irc command
#1

Ive made an /irc command that should let the players on server send a Personal message to the IRC channel! The only problem is that it doesnt work

pawn Код:
dcmd_irc(playerid,params[])
{
    new msg[128];
    new message[128];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    if(sscanf(params, "s", message)) return SendClientMessage(playerid,red, "{FF0000}[USAGE]{FFFFFF}: {00F6F6}/irc message");
    format(msg, sizeof(msg), "4%s[%d] to IRC: 12%s.",name,playerid, message);
    CallRemoteFunction("igmessage","s",msg);
    SendClientMessage(playerid,COLOR_YELLOW,"You have sent a message to the IRC channel!");
    return 1;
}
Reply
#2

Bump?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)