How to properly use arrays?
#3

Interesting.

Code:
C:\Users\Luke\Desktop\hungergames.pwn(50) : warning 213: tag mismatch
C:\Users\Luke\Desktop\hungergames.pwn(50) : warning 213: tag mismatch
C:\Users\Luke\Desktop\hungergames.pwn(50) : warning 213: tag mismatch
C:\Users\Luke\Desktop\hungergames.pwn(50) : error 018: initialization data exceeds declared size
C:\Users\Luke\Desktop\hungergames.pwn(1088) : error 032: array index out of bounds (variable "fishingspots")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
pawn Code:
#define MAX_FISH_AREAS 2

new fishingspots[MAX_FISH_AREAS][2] =
{
    {-1874.6598,-1670.0956,0.9824},
    {-1885.7527,-1671.0122,1.0201}
};
Reply


Messages In This Thread
How to properly use arrays? - by rangerxxll - 30.03.2014, 02:07
Re: How to properly use arrays? - by EiresJason - 30.03.2014, 03:00
Re: How to properly use arrays? - by rangerxxll - 30.03.2014, 03:04
Re: How to properly use arrays? - by EiresJason - 30.03.2014, 03:30
Re: How to properly use arrays? - by newbie scripter - 30.03.2014, 03:38
Re: How to properly use arrays? - by rangerxxll - 30.03.2014, 03:38
Re: How to properly use arrays? - by RoboN1X - 30.03.2014, 03:43
Re: How to properly use arrays? - by EiresJason - 30.03.2014, 03:44
Re: How to properly use arrays? - by rangerxxll - 30.03.2014, 03:50
Re: How to properly use arrays? - by RoboN1X - 30.03.2014, 03:52

Forum Jump:


Users browsing this thread: 1 Guest(s)