SA-MP Forums Archive
About arrays - 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: About arrays (/showthread.php?tid=381185)



About arrays - Emre__ - 28.09.2012

Hey guys, I have an array like this:

pawn Code:
new carList[][][] = {
{"Alpha", "Banshee", "Blista Compact", "Buffalo", "Bullet", "Cheetah", "Club", "Euros", "Flash", "Hotring Racer", "Hotring Racer 2", "Hotring Racer 3", "Infernus", "Jester", "Phoenix", "Sabre", "SuperGT", "Turismo", "Uranus", "ZR-350"},
{"Other", "Other 2", "Other 3"}
};
This is a multi-dimensional array. How can I call the variable which is in for example first group 5. variable? please help me.


Re: About arrays - Emre__ - 28.09.2012

Where can I find my answer?