SA-MP Forums Archive
Need help! ZCMD INCLUDE - 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: Need help! ZCMD INCLUDE (/showthread.php?tid=532704)



Need help! ZCMD INCLUDE - hoonz - 19.08.2014

Hey, I need help with ZCMD include, my Sublime text show these errors:

C:\Users\Ainis\Desktop\mysqlGM\gamemodes\mysqlGM.p wn(90) : error 017: undefined symbol "command"
C:\Users\Ainis\Desktop\mysqlGM\gamemodes\mysqlGM.p wn(90) : warning 203: symbol is never used: "CMD"

90 line - CMD:command(playerid, params[])

My includes

#include <a_samp>
#include <a_mysql>
#include <zcmd>


Re: Need help! ZCMD INCLUDE - hoonz - 19.08.2014

Please help, I want to learn pawn


Re: Need help! ZCMD INCLUDE - LostGaming2014 - 20.08.2014

What's the whole command? Or did you only make one line saying that?


Re: Need help! ZCMD INCLUDE - SickAttack - 20.08.2014

pawn Код:
CMD:command(playerid, params[])
{
    // Code..
    return 1;
}



Re: Need help! ZCMD INCLUDE - hoonz - 20.08.2014

My command:

CMD:command(playerid, params[])
{
new msg[2000];
strcat(msg, "{FF8000}» {FFFFFF}Message\n\n");
strcat(msg, "{FF8000}/command\n");
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Help", msg, "Ok", "");
return (true);
}

but errors is stile the same
C:\Users\Ainis\Desktop\mysqlGM\gamemodes\mysqlGM.p wn(96) : error 017: undefined symbol "command"
C:\Users\Ainis\Desktop\mysqlGM\gamemodes\mysqlGM.p wn(96) : warning 203: symbol is never used: "CMD"


Re: Need help! ZCMD INCLUDE - MikeEd - 20.08.2014

do you have
pawn Код:
#include <zcmd>
at the top of your script?