Allright so I fixed it. This is how it ended up. Works in all environments and with both players and AI.
PHP Code:
if (_para) then {
cutText ["","BLACK IN",2];
_drop = 100;
_pos = [getpos _man select 0, getpos _man select 1, _drop];
_chute = "Parachute_US_EP1";
if (isserver) then {_silk = createvehicle [_chute, _pos,[], 0, "FLY"];};
if (local _man && !isserver) then {
sleep .5;
_canopy = nearestobject [_pos, _chute];
_man moveindriver _canopy;
} else {
sleep .5;
_canopy = nearestobject [_pos, _chute];
_man setvehicleinit "this moveindriver _canopy;";
processinitcommands;
};
};