29.04.2012, 18:36
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.
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.