04.08.2012, 09:01
Hi! I've a little question: how can I disable all YCMD commands and not one at once? And how can I send an error message when a command doesn't exist? Thanks

return 0;
return 1;
return SendClientMessage(playerid, COLOR_RED, "Command doesn't exist. Type /help to see commands!);
public OnPlayerCommandPerformed(playerid, cmdtext[], success){
if(success == 0)return SendClientMessage(playerid, COLOR_GRAY2, "SERVER: Unknown command, use /help for further help.");
}
#include zcmd //top of script