EeRrOoRr
#1

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

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.
Reply
#3

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

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)
Reply
#5

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

well.. nothing did helped.. same errors
Reply
#7

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

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

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

Try

Код:
new TagInfo[MAX_TAGS][tagInfo];
Reply
#10

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

thats what I said, but much simpler
Reply
#12

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

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.
Reply
#14

PAWN is caps sensitive, it's tagInfo..
Reply
#15

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


Forum Jump:


Users browsing this thread: 1 Guest(s)