06.05.2018, 02:47
Hi guys, I need help with my menu, I was looking to add two random positions in this menu, can someone help me with the code??
Код:
enum SPAWN_INFO {
eSkin,
eTeam,
Float: ePos[4],
eWeapons[3],
eAmmo[3]
};
new const SpawnInfo[][SPAWN_INFO] =
{
// skin, team, x, y, z, a, wep1, ammo1, wep2, ammo2, wep3, ammo3
{21,0,{-2636.9077,260.5389,4.3281,75.9486},{30,150,25},{50,29,150}}, <--- random position
{21,0,{-2486.7871,257.4536,34.8855,75.9486},{30,150,25},{50,29,150}}, <---- random position
{2,1,{-1762.0461,960.5403,24.8828,171.4048},{26,100,29},{150,24,20}},
{124,2,{-2454.6692,139.8220,34.9609,313.0271},{30,150,25},{50,29,150}},
{122,3,{-1678.2971,1359.7749,6.8045,314.8831},{30,150,32},{150,24,50}},
{285,4,{-1635.0077,665.8105,7.1875,264.2244},{29,150,31},{150,16,8}},
{108,5,{-2123.0313,-212.4085,34.9448,103.0335},{31,150,24},{20,27,100}},
{248,6,{-2180.8606,706.7700,53.8906,188.5527},{30,150,25},{50,29,150}},
{295,7,{-2667.5515,906.6794,79.6682,153.4801},{30,150,32},{150,24,50}},
{159,8,{-1058.2749,-1162.2968,128.8435,169.9164},{29,150,31},{150,16,8}},
{50,9,{-473.5201,-513.6721,25.0684,178.2461},{31,150,24},{20,27,100}},
{296,10,{-2640.1396,1374.2184,7.1437,252.1212},{31,150,24},{20,27,100}},
{287,11,{-1335.4381,506.1993,11.1953,83.7755},{30,150,25},{50,29,150}}
};


