Wtf? I need some help
#1

Shows me this error: error 017: undefined symbol "dcmd"
But i HAVE this fucking define in my script: #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
Reply
#2

Is it at the top of the script? Or at least before any DCMD parts of your script?

I believe that ZCMD is a better alternative to DCMD anyway.
Reply
#3

Yeah its above the main its at the top of my script
Reply
#4

Go to the line where it says undefined symbol, and make sure that there are no spaces after dcmd.

example:
wrong : dcmd (1,2,3);

right : dcmd(1,2,3);
Reply
#5

Are you sure that you have the right includes, because I see that your line is exactly the same as mine.
Make sure that you got a_samp included.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)