SA-MP Forums Archive
EeRrOoRr - 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: EeRrOoRr (/showthread.php?tid=73981)



EeRrOoRr - krisis32 - 19.04.2009

here is an error...
Код:
E:\sa-mp servers\gamemodes\wwrrp.pwn(257) : error 017: undefined symbol "tagInfo"
E:\sa-mp servers\gamemodes\wwrrp.pwn(257) : error 009: invalid array size (negative, zero or out of bounds)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
This is the line:

pawn Код:
new TagInfo[MAX_TAGS][tagInfo];



Re: EeRrOoRr - Redirect Left - 19.04.2009

You did not define what "tagInfo" is.
tagInfo is what that the variable "TagInfo" should include.

I.E
TagInfo[51][NameOfTag]

Код:
enum tagInfo
{
  NameOfTag
}
Note, it's 07:51, I haven't slept, might be wrong.


Re: EeRrOoRr - Grim_ - 19.04.2009

Also:
You have it defined " TagInfo " but the error showed using " tagInfo. " -- Try to capitalize the T.


Re: EeRrOoRr - Redirect Left - 19.04.2009

The code
Код:
new TagInfo[MAX_TAGS][tagInfo];
The second define should not be the first, he was correct in that, Icy. He is trying to do something where one variable includes alot of other stuff. (I forgot the posh term for it)


Re: EeRrOoRr - Grim_ - 19.04.2009

Oh I got confused with that, too many taginfo's


Re: EeRrOoRr - krisis32 - 19.04.2009

well.. nothing did helped.. same errors


Re: EeRrOoRr - Redirect Left - 19.04.2009

Post the exact bits of code you have relating to this.


Re: EeRrOoRr - krisis32 - 19.04.2009

pawn Код:
new TagInfo[MAX_TAGS][TagInfo];

enum tagInfo
{
    tgSprayer[24],
    Float:tgX,
    Float:tgY,
    Float:tgZ,
    NameOfTag
};



Re: EeRrOoRr - Redirect Left - 19.04.2009

Try

Код:
new TagInfo[MAX_TAGS][tagInfo];



Re: EeRrOoRr - Danut - 19.04.2009

Quote:
Originally Posted by krisis32
pawn Код:
new TagInfo[MAX_TAGS][TagInfo];

enum tagInfo
{
    tgSprayer[24],
    Float:tgX,
    Float:tgY,
    Float:tgZ,
    NameOfTag
};
pawn Код:
enum TagInfo
{
    tgSprayer[24],
    Float:tgX,
    Float:tgY,
    Float:tgZ,
    NameOfTag
};
With T not t


Re: EeRrOoRr - Redirect Left - 19.04.2009

thats what I said, but much simpler


Re: EeRrOoRr - Danut - 19.04.2009

maybe he though it's the same thing , and he didn't change it


Re: EeRrOoRr - krisis32 - 19.04.2009

yea .. work ...
Код:
E:\sa-mp servers\gamemodes\wwrrp.pwn(256) : error 017: undefined symbol "TagInfo"
E:\sa-mp servers\gamemodes\wwrrp.pwn(256) : error 009: invalid array size (negative, zero or out of bounds)
E:\sa-mp servers\gamemodes\wwrrp.pwn(267) : error 021: symbol already defined: "TagInfo"
E:\sa-mp servers\gamemodes\wwrrp.pwn(934) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(935) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(936) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(942) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(943) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(958) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(959) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(960) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(966) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(967) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1680) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1680) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1680) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1683) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1686) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1687) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1688) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1690) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1707) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1707) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1707) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1710) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1711) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1712) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1714) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1728) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1728) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1728) : warning 213: tag mismatch
E:\sa-mp servers\gamemodes\wwrrp.pwn(1731) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.



Re: EeRrOoRr - Redirect Left - 19.04.2009

PAWN is caps sensitive, it's tagInfo..


Re: EeRrOoRr - krisis32 - 19.04.2009

-_- ... i did put it.. but i got same error... ah.. what eva.. if none can fix it im gonna remove it!