Update purchased vehicle spawn location

If there was no helipad available findSafePos was called. If that failed
it spawned the vehicle in the debug zone.

Calling findSafePos is no longer necessary since we are now using
createVehicle "NONE".
This commit is contained in:
ebaydayz
2016-09-22 18:12:52 -04:00
parent 7f0935c639
commit cc03256475
10 changed files with 27 additions and 16 deletions

View File

@@ -74,6 +74,7 @@ _key call server_hiveWrite;
_object = _class createVehicle [0,0,0];
} else {
//_object = createVehicle [_class, _location, [], 0, "CAN_COLLIDE"];
// Don't use setPos or CAN_COLLIDE here. It will spawn inside other vehicles
_object = _class createVehicle _location;
};