Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _spawnPoints = nearestObjects [(getPosATL _playerObject), "Land_HelipadSquare_F",200];
- _okToSpawn = false;
- {
- _spawnPoint = _x;
- _position = _spawnPoint findEmptyPosition [0,0,_vehicleClass];
- if(!isNull_position) exitWith { _okToSpawn = true; };
- }forEach _spawnPoints;
- if ( !_okToSpawn ) then
- {
- _position = (getPos _playerObject) findEmptyPosition [50, 300, _vehicleClass];
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement