15.09.2010, 19:46
Edit: Cameltoe beat me too it xD
Maybe add your random coordinates into an array?
Theres probably a different way that i dont know, this is probably easier anyway
Maybe add your random coordinates into an array?
pawn Код:
enum DataEnum {Float:x, Float:y, Float:z}
new Data[][DataEnum] = {
{-2432.7859,2314.7695,4.7579,324.4159}
{-2432.6313,2294.3455,4.7548,321.2483}
};
// And then do:
new rand = random(sizeof(Data));
masinike = CreateVehicle(415, Data[rand][x], Data[rand][y], Data[rand][z], 161, 161, -1);