SA-MP Forums Archive
whats the diference - 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: whats the diference (/showthread.php?tid=185886)



whats the diference - dark_clown - 26.10.2010

whats the diference between zcmd and dcmd?
i only use dcmd i NEVER used zcmd and never saw a example.
but iv heard of it
whats the diference?


Re: whats the diference - Camacorn - 26.10.2010

ZCMD is the fastest command processor atm, it prevents lag, and is easier (( imo )) to use when making commands.


Re: whats the diference - Miguel - 27.10.2010

This is dcmd:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext)
{
    dcmd(command, length, cmdtext);
    return 0;
}

dcmd_command(playerid, params[])
{
    return 1;
}
And this is zcmd:
pawn Код:
CMD:command(playerid, params[])
{
    return 1;
}
More information: http://forum.sa-mp.com/showthread.ph...mand+processor