when player use any irc command the command happened twice!
#1

as the title says explain: when player use !pm its sends two pms and all other cmds ... any help ?
Reply
#2

Show some script please. It might be in issue in these areas:

OnPlayerText
OnPlayerCommandText
Reply
#3

Show us the code;
Reply
#4

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]){
    new playname[MAX_PLAYER_NAME], ircCommand[256];
    GetPlayerName(playerid, playname, sizeof(playname));
    format(ircCommand, sizeof(ircCommand), "02[%i] 07%s: %s", playerid, playname, cmdtext);
    IRC_GroupSay(gGroupID2, IRC_ADMINCHANNEL, ircCommand);
    return 1;}

public OnPlayerCommandPerformed(playerid, cmdtext[], success){
    if(success == 0) SendClientMessage(playerid, white, "Try another command from /help, that one doesnt exist!");
    return 1;}
here it is
Reply
#5

Show me your !pm command.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)