SA-MP Forums Archive
SERVER: 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)
+--- Thread: SERVER: Unknown Command? (/showthread.php?tid=420661)



SERVER: Unknown Command? - JimmyNeonHD - 06.03.2013

Hello, i have a bug thats when i type any cmd like /w the command work but when i type always show Server....... So what can i do i put it in gamemode and i put the script in filterscript when i put them filter.. The cmd wont work are there any thing to make this bug go away?


Re: SERVER: Unknown Command? - [MG]Dimi - 06.03.2013

just return 1;


Re: SERVER: Unknown Command? - RajatPawar - 06.03.2013

Sometimes when you used ZCMD without
pawn Код:
#include <zcmd>
it compiles fine, but will show this error ingame.


Re: SERVER: Unknown Command? - JimmyNeonHD - 06.03.2013

I use Dcmd!


Re: SERVER: Unknown Command? - JaKe Elite - 06.03.2013

but you also need to return 1; on dcmd. The same with strcmp, same with YCMD, ZCMD.


Re: SERVER: Unknown Command? - Gamer_007 - 06.03.2013

Ye when u put this

pawn Код:
dcmd(w,1,cmdtext);
The total no. of word must be 1.Many times we get error from this