SA-MP Forums Archive
Dcmd - 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 (/showthread.php?tid=188303)



[SOLVED]Dcmd - Th3Angel - 07.11.2010

EDIT: Forgot to load sscanf plugin.


Re: Dcmd - Kwarde - 07.11.2010

Hmm. I've got a different dcmd define :P
Try this one:
pawn Код:
#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



Re: Dcmd - Th3Angel - 07.11.2010

Both defines work. Lol, forgot to load sscanf plugin.


Re: Dcmd - Kwarde - 07.11.2010

lol okay.