Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Mission de livraison possible ?
- Par : Daniels Morris
- */
- if (player getVariable "Unconscious") exitwith {"Tu ne peux pas faire sa en étant mort";};
- if (vehicle player != player) then {hint "Tu ne peux pas faire sa depuis ton véhicule";};
- if (player getVariable "lancer") exitWith {hint "Tu a déja une mission de lancer";};
- _liste = ["Land_Cargo10_grey_F","Land_Cargo10_blue_F","Land_Cargo10_brick_red_F","Land_Cargo10_cyan_F","Land_Cargo10_light_blue_F","Land_Cargo10_yellow_F","Land_Cargo10_white_F"];
- _land = selectRandom _liste;
- _mission = [
- "Lancer la mission?",
- "Tu t'appréte a lancer une mission de réaprovisionement",
- "Oui",
- "Non"] call BIS_fnc_GUImessage;
- if (_mission) then {
- camion = "B_Truck_01_mover_F" createVehicle (getmarkerPos "marker_0");
- box = _land createVehicle [5724.182,4118.165,0];
- box attachTo [camion, [0, -3.3, 1]];
- _lancer = player setVariable ["lancer", true];
- ["TaskAssigned",["","Tu a réussi ta livraison"]] call BIS_fnc_showNotification;
- player moveInany camion;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement