SA-MP Forums Archive
error 017: undefined symbol "YSI_gCopsS" - 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: error 017: undefined symbol "YSI_gCopsS" (/showthread.php?tid=218266)



error 017: undefined symbol "YSI_gCopsS" - David5290 - 29.01.2011

Any solutions?


Re: error 017: undefined symbol "YSI_gCopsS" - Marricio - 29.01.2011

define it


Re: error 017: undefined symbol "YSI_gCopsS" - iMonk3y - 29.01.2011

I would assume you're missing this:
pawn Код:
new Iterator:Cops< 10 >; //10 slots for cops, change it according to your needs



Re: error 017: undefined symbol "YSI_gCopsS" - David5290 - 29.01.2011

error 017: undefined symbol "dcmd_taze"
I get like 10 of these errors and I already have it defined..

Код:
#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
dcmd(taze, 4, cmdtext);


Re: error 017: undefined symbol "YSI_gCopsS" - iMonk3y - 29.01.2011

So is the "YSI_gCopsS" error gone? good! I recommend using zcmd or ycmd instead of dcmd. Search for either one on forums

...but if you're too lazy, here is tip no.1: Where have you defined dcmd? It has to be defined on top of the script, below #includes.