SA-MP Forums Archive
where i can download 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)
+--- Thread: where i can download dcmd (/showthread.php?tid=339731)



where i can download dcmd - speediekiller2 - 04.05.2012

where i can download dcmd??

thnx for helping greetings speediekiller2


Re: where i can download dcmd - JaTochNietDan - 04.05.2012

It's only a single define:

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
There are better systems available like zcmd or ycmd though.


Re: where i can download dcmd - zSuYaNw - 04.05.2012

Yeah jato!

Her can "convert" dcmd to zcmd:
pawn Код:
#define dcmd \
            cmd