How to properly use arrays?
#4

You need to set the array to store 3 variables, not 2

pawn Code:
#define MAX_FISH_AREAS 2

new fishingspots[MAX_FISH_AREAS][3] = //changed your [2] to [3]
{
    {-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: 2 Guest(s)