Advertisement
Guest User

Untitled

a guest
May 29th, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. /*
  2. File: fn_flagHALO.sqf
  3. Author: Copusirum
  4.  
  5. Description:
  6. Halo Request at SIGN´s
  7.  
  8. Using: this addAction["Halo Jump (Abspringen)",life_fnc_flagHALO];
  9. */
  10.  
  11. #include "macro.h" //Damit er abfragen kann ob Donator
  12.  
  13. //zur absouluten Sicherheit
  14. #define __GETC__(var) (call var)
  15.  
  16. //Side Check
  17. if (playerSide == civilian || playerSide == west || playerSide == east) then {
  18.  
  19. if (playerSide == civilian || playerSide == east) then { if((__GETC__(life_donator)) < 1) exitWith {hint "Leider aus Test Gründen aktuell nur für Donator"}; }; //Donator Check
  20.  
  21. hint "Klicke auf die Karte wo du hinspringen möchtest, die C-130 bring dich bis zum Extraction Point.";
  22. openMap true;
  23. onMapSingleClick {
  24. onMapSingleClick {};
  25. player setpos _pos;
  26. [player, 3000, false, true, true] call life_fnc_HALO;
  27. hint '';
  28. openMap false;
  29. true
  30. };
  31.  
  32. }
  33. else
  34. {
  35. hint "TuT uns leid dieser Service ist nur für unsre Bürger";
  36. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement