dcmd has Return 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: dcmd has Return SERVER: Unknown Command (
/showthread.php?tid=262892)
dcmd has Return SERVER: Unknown Command -
Czeladnik - 19.06.2011
hi, my problem is that it asks me DCMD SERVER: Unknown Command
Define dcmd:
Код:
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
Help me please,
Re: dcmd has Return SERVER: Unknown Command -
park4bmx - 19.06.2011
show the command that it shows
Unknown Command
is probably because you left out a
return 1;
At the end