24.05.2015, 15:12
It wasn't for the teams but for the spawn points (floats) + interior (integer).
pawn Код:
enum e_RandSpawns
{
Float: X,
Float: Y,
Float: Z,
Float: Angle,
Interior
};
new RandSpawns[][e_RandSpawns] =
{
{198.3130,168.7895,1003.0234,279.8719,3}, // LVPolice5
{195.3844,178.5444,1003.0234,267.6113,3}, // LVPolice6
{217.7533,184.4308,1003.0313,180.5899,3}, // LVPolice7
{253.0199,189.4483,1008.1719,267.2993,3}, // LVPolice8
{297.2448,183.1777,1007.1719,114.2658,3}, // LVPolice9
{230.8077,167.2818,1003.0234,178.3830,3}, // LVPolice10
{2337.7937,2455.1116,14.9688,85.4441,0}, // lvpolice11
{2286.5898,2429.0000,10.8203,180.0716,0}, // lvpolice12
{2238.6660,2449.2288,11.0372,88.8440,0}, // lvpolice13
{2253.4731,2457.5869,10.8203,92.2906,0}, // lvpolice14
{2295.7310,2468.8147,10.8203,99.3290,0}, // lvpolice15
{2295.4824,2451.9346,10.8203,84.6022,0}, // lvpolice16
{2251.4565,2490.0515,10.9908,174.3613,0}, // lvpolice17
{2307.2654,2446.4929,10.8203,172.7947,0} // lvpolice18
};
pawn Код:
printf("%i %f", RandSpawns[5][Interior], RandSpawns[10][Y]);
// output 3 and 2468.814697