SA-MP Forums Archive
DCMD: Unknown command - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: DCMD: Unknown command (/showthread.php?tid=114536)



DCMD: Unknown command - Nameless303 - 19.12.2009

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 (:



Re: DCMD: Unknown command - dice7 - 19.12.2009

return 1; at the end


Re: DCMD: Unknown command - Nameless303 - 19.12.2009

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