Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private["_display","_curTarget","_Btn1","_Btn2","_Btn3","_Btn4","_Btn5","_Btn6","_Btn7","_Btn8","_Btn9"];
- createDialog "revokeLicense_Menu";
- disableSerialization;
- _curTarget = param [0,objNull,[objNull]];
- if(isNull _curTarget) exitWith {hint "Mauvaise cible !"; closeDialog 0;};
- if(!isPlayer _curTarget && side _curTarget == civilian) exitWith {hint "Ne peut pas faire ca !"; closeDialog 0;};
- _display = findDisplay 41000;
- _Btn1 = _display displayCtrl 41002;
- _Btn2 = _display displayCtrl 41003;
- _Btn3 = _display displayCtrl 41004;
- _Btn4 = _display displayCtrl 41005;
- _Btn5 = _display DisplayCtrl 41006;
- _Btn6 = _display DisplayCtrl 41007;
- _Btn7 = _display DisplayCtrl 41008;
- _Btn8 = _display DisplayCtrl 41009;
- _Btn9 = _display DisplayCtrl 41010;
- _Btn1 buttonSetAction "[12] remoteExecCall [""life_fnc_removeLicenses"",_curTarget]; closeDialog 0;";
- _Btn2 buttonSetAction "[4] remoteExecCall [""life_fnc_removeLicenses"",_curTarget]; closeDialog 0;";
- _Btn3 buttonSetAction "[6] remoteExecCall [""life_fnc_removeLicenses"",_curTarget]; closeDialog 0;";
- _Btn4 buttonSetAction "[7] remoteExecCall [""life_fnc_removeLicenses"",_curTarget]; closeDialog 0;";
- _Btn5 buttonSetAction "[5] remoteExecCall [""life_fnc_removeLicenses"",_curTarget]; closeDialog 0;";
- _Btn6 buttonSetAction "[9] remoteExecCall [""life_fnc_removeLicenses"",_curTarget]; closeDialog 0;";
- _Btn7 buttonSetAction "[8] remoteExecCall [""life_fnc_removeLicenses"",_curTarget]; closeDialog 0;";
- _Btn8 buttonSetAction "[11] remoteExecCall [""life_fnc_removeLicenses"",_curTarget]; closeDialog 0;";
- _Btn9 buttonSetAction "[10] remoteExecCall [""life_fnc_removeLicenses"",_curTarget]; closeDialog 0;";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement