Array advice.
#1

I need some advice with storing some constant data in arrays.

I need to save 3 sets of spawnpoint coordinates PER SKIN, one in each city. Includes X, Y, Z and angle. Don't worry, I'm not saving 900 coordinates.

How should I go about doing this: I've tried all sorts.

I need something like

SetPlayerPos(playerid, spawn[skin][city][x], spawn[skin][city][y], spawn[skin][city][z]);

City can be 0/1/2. Skin can be 0-300. Needs 4 cells for x y z and angle.

Thanks.
Reply


Messages In This Thread
Array advice. - by MP2 - 29.01.2012, 22:20
Re: Array advice. - by Lorenc_ - 29.01.2012, 22:55
Re: Array advice. - by MP2 - 29.01.2012, 23:39
Re: Array advice. - by MP2 - 30.01.2012, 02:45
Re: Array advice. - by Babul - 30.01.2012, 03:40

Forum Jump:


Users browsing this thread: 1 Guest(s)