Problem with YCMD
#1

I just tried using YCMD, but it always shows me the "SERVER: Unknown command" message?

Here's my code.
Код:
CMD:command(playerid, params[])
{
	SendClientMessage(playerid, COLOR_GREEN, "INFO: Successfull message!");
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	return 0;
}
How can I make it show a custom message like "ERROR: Unknown server command" when a command does not exist?
Reply
#2

No need, I fixed it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)