DCMD: Unknown command
#1

Hi (:

When I use this dcmd command;
Код:
dcmd_help(playerid, params[])
{
  #pragma unused params
 	SendClientMessage(playerid, COLOR_NOTICE, " ");
 	SendClientMessage(playerid, COLOR_NOTICE, "[ H E L P ]");
 	SendClientMessage(playerid, COLOR_NOTICE, "- /cmds for commands [NOT YET FINISHED]");
 	SendClientMessage(playerid, COLOR_NOTICE, "- #[TEXT] for radio");
 	if(pInfo[playerid][perfect] == 1)
 	{
	 	SendClientMessage(playerid, COLOR_NOTICE, "- /pcmds for Perfect Member commands [NOT YET FINISHED]");
	}
 	if(pInfo[playerid][level] > 0)
 	{
	 	SendClientMessage(playerid, COLOR_NOTICE, "- /acmds for admin commands [NOT YET FINISHED]");
	 	SendClientMessage(playerid, COLOR_NOTICE, "- @[TEXT] for admin chat");
	}
 	SendClientMessage(playerid, COLOR_NOTICE, " ");
}
It says the text it is suposed to show + "SERVER: Unkown command."
Is have searched for it but I really couldn't find a solution...

Thanks (:
Reply
#2

return 1; at the end
Reply
#3

Quote:
Originally Posted by dice7
return 1; at the end
Oohw Thank you! Totally forgot
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)