Need help! ZCMD INCLUDE
#1

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>
Reply
#2

Please help, I want to learn pawn
Reply
#3

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

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

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"
Reply
#6

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


Forum Jump:


Users browsing this thread: 1 Guest(s)