Advertisement
LupusTheCanine

Untitled

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