Server: Unknown Commands "/"
#1

Hello,
I have i little question.

I use this for OnPlayerCommandText:
Code:

public OnPlayerCommandText(playerid, cmdtext[])
{
//lots of commands
return SendClientMessage(playerid, COLOR_YELLOW2, "Error: Unknown command.);
}

So when i use a command that doesn't exists like /aaaa it sais:
Error: Unknown command

BUT when i just enter '/' it sais the default:
SERVER: Unknown command.

I've tested this on other server with custom unknown command messages, and it also happens there.
Reply


Messages In This Thread
Server: Unknown Commands "/" - by otiy - 29.04.2012, 18:36
Re: Server: Unknown Commands "/" - by mickos - 29.04.2012, 18:57
Re: Server: Unknown Commands "/" - by sniperwars - 29.04.2012, 19:03
Re: Server: Unknown Commands "/" - by mickos - 29.04.2012, 19:15
Re: Server: Unknown Commands "/" - by Littlehelper - 29.04.2012, 19:23
Re: Server: Unknown Commands "/" - by MP2 - 29.04.2012, 19:37
Re: Server: Unknown Commands "/" - by otiy - 29.04.2012, 19:39
Re: Server: Unknown Commands "/" - by otiy - 29.04.2012, 21:49
Re: Server: Unknown Commands "/" - by SuperViper - 30.04.2012, 04:08
Re: Server: Unknown Commands "/" - by otiy - 30.04.2012, 07:33

Forum Jump:


Users browsing this thread: 3 Guest(s)