SA-MP Forums Archive
Extraordinary array - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Extraordinary array (/showthread.php?tid=128798)



Extraordinary array - ziomal432 - 19.02.2010

I neeed to do three-dimensional table . I searched and there was a topic, but I didn't wanted do dig.

Код:
array
{
	1
	{
		1a
		1b
		1c
		1d
		...
	}

	2
	{
		2a
		2b
		2c
		2d
		...
	}

	3
	{
		3a
		3b
		3c
		3d
		...
	}
}
Don't write posts to do two-dimensional. Write some ideas, ok?


Re: Extraordinary array - BlackFoX - 19.02.2010

you mean ?

Код:
new bla[][][] = {
{
{values},
{values}
},
{
{values},
{values}
}}



Re: Extraordinary array - ziomal432 - 19.02.2010

Something like this:

Код:
new array[][][] =
{
	{ //AIRPORT
		"thrw_barl_thrw"
	},
	{ //Attractors
		"Stepsit_in",
		"Stepsit_loop",
		"Stepsit_out"
	}
};


I want to store player animations to some script.