SERVER: Unknown Command
#1

Hi, I have a problem with this code:
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success)
    {
        SendClientMessage(playerid, GREY, "The command you typed doesn't exist, try /cmds or /help.");
    }
    return 0;
}
Everytime I type the command in game it works but then it gives me an "Server Unknown Command" message
What is wrong? Please help me..
Image:
Reply
#2

EDIT: Found the problem, nevermind
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)