SA-MP Forums Archive
3D Array - Tag Mismatch - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 3D Array - Tag Mismatch (/showthread.php?tid=482582)



3D Array - Tag Mismatch - DaemonG - 21.12.2013

How do I properly write a 3D Array for Floats?

I keep getting a tag mismatch at the commented line.

pawn Код:
3DArray[ ][ ][ ] =
{
    { // Tag Mismatch
        { 1.0, 2.0, 3.0 },
        { 4.0, 5.0, 6.0 },
        { 7.0, 8.0, 9.0 }
    },
    {
        { 1.0, 2.0, 3.0 },
        { 4.0, 5.0, 6.0 },
        { 7.0, 8.0, 9.0 }
    },
    {
        { 1.0, 2.0, 3.0 },
        { 4.0, 5.0, 6.0 },
        { 7.0, 8.0, 9.0 }
    }
};
Thanks for the help.


Re: 3D Array - Tag Mismatch - kristo - 21.12.2013

Float:3DArray[ ][ ][ ] =


Re: 3D Array - Tag Mismatch - DaemonG - 21.12.2013

Oh my god... I'm stupid. Thanks!