DCMD download link - 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 download link (
/showthread.php?tid=124404)
DCMD download link -
svorpyx - 30.01.2010
Hi,
i'm searching for DCMD,
i know it's slow etc etc...
but i really need it, can anyone give me a download link?
Re: DCMD download link -
Finn - 30.01.2010
https://sampwiki.blast.hk/wiki/Dcmd
pawn Code:
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
Re: DCMD download link -
Daren_Jacobson - 30.01.2010
Since when was it slow?
but yeah, you can try zcmd, it most definitely is not slow.
Re: DCMD download link -
svorpyx - 30.01.2010
already tried define, wont work.
i need dcmd for another inc
Re: DCMD download link -
svorpyx - 31.01.2010
anyone?
Re: DCMD download link -
Rzzr - 31.01.2010
There is no download for dcmd..
Re: DCMD download link -
svorpyx - 31.01.2010
damn,
thanks
Re: DCMD download link -
Norn - 31.01.2010
Quote:
Originally Posted by svorpyx
Hi,
i'm searching for DCMD,
i know it's slow etc etc...
but i really need it, can anyone give me a download link?
|
It's not slow it's like the second or third fastest, faster than usual strcmp commands.
Re: DCMD download link -
svorpyx - 31.01.2010
yes, but i just need the inc...
Re: DCMD download link -
Rzzr - 31.01.2010
Neither is there an inc.
The only thing you need for dcmd is this define:
pawn Code:
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1