Advertisement
LupusTheCanine

Untitled

Nov 5th, 2020 (edited)
1,299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.67 KB | None | 0 0
  1. params["_garage2","_arg"];
  2.  hint _arg;
  3. _garage2 addAction ["<t color='#77ff00'>PGM Logistic: SPAWN QUAD</t>", {
  4.    
  5.     params["_garage","_player","_actionID","_arguments"];
  6.     _arguments params["_argL"];
  7.     hint _argL;
  8.     if (count (_garage nearObjects ["B_Quadbike_01_F", 2]) == 0) then {
  9.             _veh = "B_Quadbike_01_F" createVehicle position _garage;
  10.             _veh setDir ((direction _garage) +180);
  11.         } else {
  12.             hint "BŁAD ! Nie moge utworzyć pojazdu - USUŃ poprzedni !";
  13.         };
  14.     }
  15. ,[_arg], 1.5, true, true,"", "true", 7, false, "", ""];
  16.  
  17.  
  18. // Wywołanie z init'u obiektu :
  19.  
  20. [this,"hut"] execVM "scripts\PGMLS_phaseII\garage_spawn_script.sqf";
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement