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



dcmd Problem. - Fool - 16.01.2011

I have Like about 160 Commands in my server, for some reason i added like 2 or 3, they ALL stopped Working, i dont know why, is there a FIX for this?


Re: dcmd Problem. - WillyP - 16.01.2011

ZCMD + SCCANF FTW.


Re: dcmd Problem. - Fool - 16.01.2011

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
ZCMD + SCCANF FTW.
yeah, i dont have time to convert more then 370 commands.


Re: dcmd Problem. - WillyP - 16.01.2011

Quote:
Originally Posted by Porsche911
Посмотреть сообщение
yeah, i dont have time to convert more then 370 commands.
CTRL+H FTW.


Re: dcmd Problem. - Fool - 16.01.2011

Ok, show me how i can convert this command To ZCMD


pawn Код:
dcmd_me(playerid,params[])
{
    new
        string[256];
    if (sscanf(params,"s",string))
            return SendClientMessage(playerid, COLOR_WHITE, "Usage: /me [TexT]");
    format(string,sizeof(string),"%s: %s",PlayerName(playerid),string);
    SendClientMessageToAll(0x375FFFFF,string);
    return 1;
}
This Just a Simple command show me.


Re: dcmd Problem. - Fool - 16.01.2011

Never Mind i Fix it. thank god.


Re: dcmd Problem. - Stylock - 16.01.2011

Quote:
Originally Posted by Porsche911
Посмотреть сообщение
Ok, show me how i can convert this command To ZCMD
err.. replace "dcmd_" with "CMD:"?