Сначало домавим Переменные
ко всем new добавим
new Float:RandomSpawn[][4] = { {1768.48999023,-1890.65979004,13.26507759}, {1803.05432129,-1927.93017578,12.96369362}, {2686.23901367,-1687.44445801,9.43534851}, {2306.79736328,-1667.30126953,14.55416298}, {1618.42761230,-1136.30419922,23.90625000}, {1244.02990723,-749.27777100,94.37997437}, {-304.69631958,1574.84655762,75.35937500}, {-679.18835449,949.61035156,12.13281250}, {-1583.23474121,813.13385010,6.82031250}, {-1975.12548828,259.89416504,35.17187500}, {-2027.33947754,-96.44725800,35.16406250} };
Это как вы понели координаты можно изменить на свои конечно
Потом идем в
public OnGameModeInit()
Вставляем
new rand = random(sizeof(RandomSpawn)); //классы AddPlayerClass(50,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40); AddPlayerClass(292,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40); AddPlayerClass(293,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40); AddPlayerClass(107,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40); AddPlayerClass(29,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40); AddPlayerClass(299,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40); AddPlayerClass(28,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40); AddPlayerClass(21,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40); AddPlayerClass(101,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40); AddPlayerClass(138,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40); AddPlayerClass(154,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40); AddPlayerClass(167,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40); AddPlayerClass(48,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40); AddPlayerClass(179,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40); AddPlayerClass(181,RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][3],0,-1,46,-1,43,40);
Вот и все