09.03.2014, 09:39
Oh, misread your topic, sorry.
Instead of:
Do:
This will give you a random number correctly.
Instead of:
pawn Код:
VehiclePos[freeid] = Dealership1Pos[rand][0], Dealership1Pos[rand][1], Dealership1Pos[rand][2];
pawn Код:
new rand = random(sizeof(Dealership1Pos));
VehiclePos[freeid] = Dealership1Pos[rand][0], Dealership1Pos[rand][1], Dealership1Pos[rand][2];