Wtf? I need some help - 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: Wtf? I need some help (
/showthread.php?tid=106813)
Wtf? I need some help -
Nikos12 - 05.11.2009
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
Re: Wtf? I need some help -
radhakr - 05.11.2009
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.
Re: Wtf? I need some help -
Nikos12 - 05.11.2009
Yeah its above the main its at the top of my script
Re: Wtf? I need some help -
Joe Staff - 05.11.2009
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);
Re: Wtf? I need some help -
Benne - 05.11.2009
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.