Arrays
#2

The easiest way is probably to use an enum

pawn Code:
enum arrayenum
{
    float1,
        float2,
        string1[50], //50 = size
        string2[50] //50 = size
}
new Array[][arrayenum] =
{
    {1.412, 13.321, "stringie", "stringie2"},
    {4.442, 23.151, "lolstring", "lolstring2"}
};
That's just an example.
Reply


Messages In This Thread
Arrays - by SDraw - 25.12.2011, 08:19
Re: Arrays - by [HiC]TheKiller - 25.12.2011, 08:27
Re: Arrays - by SDraw - 25.12.2011, 08:31

Forum Jump:


Users browsing this thread: 1 Guest(s)