Creating an array at the bottom of script
#1

Hello,

I am currently working on a new filterscript which uses an multidimensional array of about 10.000 coordinates:

Example:
pawn Код:
new Float:Example[][5] =
{
    {1682.0, 739.0, -2780.0, 116.0, 2.0},
    {1387.0, 182.0, -860.0, 142.0, 2.0},
    {-2116.0, 1312.0, 304.0, 234.0, 2.0},
    {-2436.0, 719.0, -681.0, 45.0, 2.0},
    {2936.0, -986.0, -2468.0, 226.0, 2.0},
    {462.0, 2159.0, -2953.0, 102.0, 2.0},
    {-2808.0, 1295.0, -2112.0, 197.0, 2.0},
    //10.000 more lines....
};
Since it's a huge amount of lines, you have to scroll a long way to reach my callbacks and other functions. Putting this array at the bottom of my script will give me errors ("Undefined symbol").

So I was wondering, is there some way so I can put this array at the bottom of the script?

Thank you!
Reply


Messages In This Thread
Creating an array at the bottom of script - by Schneider - 10.12.2014, 20:52
Re: Creating an array at the bottom of script - by Luis- - 10.12.2014, 21:06
Re: Creating an array at the bottom of script - by Kimossab - 10.12.2014, 21:24
Re: Creating an array at the bottom of script - by Schneider - 10.12.2014, 21:36
Re: Creating an array at the bottom of script - by Kimossab - 10.12.2014, 21:38
Re: Creating an array at the bottom of script - by Pottus - 11.12.2014, 00:26

Forum Jump:


Users browsing this thread: 1 Guest(s)