So he changes the spawn points inside and outside of the map RUST. Only Rust! The next Map I fall under the Map in a black hole - dead
I do this individually for every map! Please help me ...
Code:
teamspawn()
{
if(self.team == "allies")
{
wait 2;
{
self.spawnLocations = [];
self.spawnLocations[0] = (-1771.86, 2287.64, -220.463);
self.spawnLocations[1] = (-333.023, 5458.44, 48.2711);
self.spawnLocations[2] = ( 707.419, 991.081, 268.046);
self.spawnLocations[3] = ( 1751.04, 1529.66, -196.405);
self.spawnLocations[4] = (-1501.84, 930.113, -226.017);
self setOrigin(self.spawnLocations[randomInt(self.spawnLocations.size)]);
}
}
else if(self.team == "axis")
{
wait 2;
{
self.spawnLocations = [];
self.spawnLocations[0] = ( 567.304, 10.9695, -217.368);
self.spawnLocations[1] = (-1730.64, -958.758, -223.898);
self.spawnLocations[2] = ( 968.059, -3192.69, -230.999);
self.spawnLocations[3] = ( 3936.45, -2243.62, -241.011);
self.spawnLocations[4] = (-3306.37, 1334.16, -209.565);
self setOrigin(self.spawnLocations[randomInt(self.spawnLocations.size)]);
}
}
}