1
Armed Assault 2 / Help Me PLZ
« on: June 11, 2012, 07:20:49 pm »
Hello,Here I have a problem when the script inscribe helicopter spawns and explodes after 10 seconds,searched through the whole forum but found nothing,help me pliz
Quote
hint "AH64D!";
_veh_type="AH64D";
_dir = getdir vehicle player;
_pos = getPos vehicle player;
_pos = [(_pos select 0)-5*sin(_dir),(_pos select 1)-5*cos(_dir),0];
_veh = createVehicle [_veh_type,[_pos select 0,_pos select 1,50], [], 0, 'FLY'];Player moveInDriver _veh;
_veh setDir _dir;