29.01.2012, 22:20
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.
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.