Advertisement
Guest User

Untitled

a guest
Jan 17th, 2020
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 1.01 KB | None | 0 0
  1. /*
  2. Mission de livraison possible ?
  3. Par : Daniels Morris
  4.  
  5. */
  6. if (player getVariable "Unconscious") exitwith {"Tu ne peux pas faire sa en étant mort";};
  7. if (vehicle player != player) then {hint "Tu ne peux pas faire sa depuis ton véhicule";};
  8. if (player getVariable "lancer") exitWith {hint "Tu a déja une mission de lancer";};
  9. _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"];
  10. _land = selectRandom _liste;
  11.  
  12. _mission = [
  13. "Lancer la mission?",
  14. "Tu t'appréte a lancer une mission de réaprovisionement",
  15. "Oui",
  16. "Non"] call BIS_fnc_GUImessage;
  17.  
  18. if (_mission) then {
  19. camion = "B_Truck_01_mover_F" createVehicle (getmarkerPos "marker_0");
  20. box = _land createVehicle  [5724.182,4118.165,0];
  21. box attachTo [camion, [0, -3.3, 1]];
  22. _lancer = player setVariable ["lancer", true];
  23. ["TaskAssigned",["","Tu a réussi ta livraison"]] call BIS_fnc_showNotification;
  24. player moveInany camion;
  25. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement