Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- File: fn_flagHALO.sqf
- Author: Copusirum
- Description:
- Halo Request at SIGN´s
- Using: this addAction["Halo Jump (Abspringen)",life_fnc_flagHALO];
- */
- #include "macro.h" //Damit er abfragen kann ob Donator
- //zur absouluten Sicherheit
- #define __GETC__(var) (call var)
- //Side Check
- if (playerSide == civilian || playerSide == west || playerSide == east) then {
- 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
- hint "Klicke auf die Karte wo du hinspringen möchtest, die C-130 bring dich bis zum Extraction Point.";
- openMap true;
- onMapSingleClick {
- onMapSingleClick {};
- player setpos _pos;
- [player, 3000, false, true, true] call life_fnc_HALO;
- hint '';
- openMap false;
- true
- };
- }
- else
- {
- hint "TuT uns leid dieser Service ist nur für unsre Bürger";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement