mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Allow Non Vehicle spawn call
update _posOut to allow for object spawn. Error was thrown otherwise.
This commit is contained in:
parent
9833a11737
commit
38f6496ba4
@ -78,6 +78,8 @@ _pos set [2,0];
|
||||
//if(_x in _allowedVehiclesList)then{
|
||||
//Not working ?
|
||||
|
||||
_posOut = _pos;
|
||||
|
||||
if(_x isKindOf "CAR" || _x isKindOf "AIR")then{
|
||||
_pos = [position _player, 0, 250, 6, 0, 1000, 0] call BIS_fnc_findSafePos;
|
||||
_pos = _pos findEmptyPosition [1,75,_x];
|
||||
|
Loading…
Reference in New Issue
Block a user