Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class life_coprank_menu {
- idd = 15000;
- name= "life_coprank_menu";
- movingEnable = 0;
- enableSimulation = 1;
- onLoad = "[] spawn life_fnc_coprankMenu;";
- class controlsBackground {
- class Life_RscTitleBackground:Life_RscText {
- colorBackground[] = {0,0,1,0.75};
- idc = -1;
- x = 0.1;
- y = 0.2;
- w = 0.8;
- h = (1 / 25);
- };
- class MainBackground:Life_RscText {
- colorBackground[] = {0, 0, 0, 0.7};
- idc = -1;
- x = 0.1;
- y = 0.2 + (11 / 250);
- w = 0.8;
- h = 0.6 - (2 / 250);
- };
- };
- class controls {
- class Title : Life_RscTitle {
- colorBackground[] = {0, 0, 1, 0};
- idc = 15001;
- text = "Cop Rank Menu - By Tom";
- x = 0.1;
- y = 0.2;
- w = 0.6;
- h = (1 / 25);
- };
- class PlayerList_SwatAdmin : Life_RscListBox
- {
- idc = 15002;
- text = "";
- sizeEx = 0.035;
- //colorBackground[] = {0,0,0,0};
- onLBSelChanged = "[_this] spawn life_fnc_adminQuery";
- x = 0.12; y = 0.26;
- w = 0.30; h = 0.55;
- };
- /*
- class SwatTitle : Life_RscTitle {
- colorBackground[] = {0, 0, 0, 0};
- idc = -1;
- text = "Cop Rank Menu - By Tom";
- x = 0.45; y = 0.27;
- w = 0.2; h = 0.03;
- };
- class reason : Life_RscEdit {
- idc = 15003;
- text = "";
- sizeEx = 0.030;
- x = 0.45; y = 0.39;
- w = 0.4; h = 0.04;
- };
- class PunishmentPredefined : Life_RscCombo
- {
- idc = 9930;
- onLBListSelChanged = "[(lbCurSel 9930)] call life_fnc_admin;";
- x = 0.45; y = 0.32;
- w = 0.4; h = 0.04;
- };
- */
- class SwatCloseButtonKey : Life_RscButtonMenu {
- idc = -1;
- text = "$STR_Global_Close";
- onButtonClick = "closeDialog 0;";
- colorBackground[] = {1,0,0,0.75};
- x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.88 - (1 / 25);
- w = (6.25 / 40);
- h = (1 / 25);
- class Attributes
- {
- align = "center";
- };
- };
- class PublicCopRank : Life_RscButtonMenu {
- idc = 15007;
- text = "Set Public Cop Rank";
- onButtonClick = "[0,0] call life_fnc_adminaspromotions;";
- colorBackground[] = {0,0,1,0.75};
- x = 0.3 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.37 - (1 / 25);
- w = (15 / 40);
- h = (1 / 25);
- class Attributes
- {
- align = "center";
- };
- };
- class ConstableCopRank : Life_RscButtonMenu {
- idc = 15008;
- text = "Set Constable Cop Rank / Whitelist";
- onButtonClick = "[0,1] call life_fnc_adminaspromotions;";
- colorBackground[] = {0,0,1,0.75};
- x = 0.3 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.44 - (1 / 25);
- w = (15 / 40);
- h = (1 / 25);
- class Attributes
- {
- align = "center";
- };
- };
- class SergeantCopRank : Life_RscButtonMenu {
- idc = 15004;
- text = "Set Sergeant Cop Rank";
- onButtonClick = "[0,2] call life_fnc_adminaspromotions;";
- colorBackground[] = {0,0,1,0.75};
- x = 0.3 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.51 - (1 / 25);
- w = (15 / 40);
- h = (1 / 25);
- class Attributes
- {
- align = "center";
- };
- };
- class InspectorCopRank : Life_RscButtonMenu {
- idc = 15005;
- text = "Set Inspector Cop Rank";
- onButtonClick = "[0,3] call life_fnc_adminaspromotions;";
- colorBackground[] = {0,0,1,0.75};
- x = 0.3 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.58 - (1 / 25);
- w = (15 / 40);
- h = (1 / 25);
- class Attributes
- {
- align = "center";
- };
- };
- class SuperIntendentCopRank: Life_RscButtonMenu {
- idc = 15006;
- text = "Set SuperIntendent Cop Rank";
- onButtonClick = "[0,4] call life_fnc_adminaspromotions;";
- colorBackground[] = {0,0,1,0.75};
- x = 0.3 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.65 - (1 / 25);
- w = (15 / 40);
- h = (1 / 25);
- class Attributes
- {
- align = "center";
- };
- };
- class NATOCopRank : Life_RscButtonMenu {
- idc = 15006;
- text = "Set NATO Cop Rank";
- onButtonClick = "[0,5] call life_fnc_adminaspromotions;";
- colorBackground[] = {0,0,1,0.75};
- x = 0.3 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.72 - (1 / 25);
- w = (15 / 40);
- h = (1 / 25);
- class Attributes
- {
- align = "center";
- };
- };
- class SASCopRank : Life_RscButtonMenu {
- idc = 15006;
- text = "Set SAS Cop Rank";
- onButtonClick = "[0,6] call life_fnc_adminaspromotions;";
- colorBackground[] = {0,0,1,0.75};
- x = 0.3 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.79 - (1 / 25);
- w = (15 / 40);
- h = (1 / 25);
- class Attributes
- {
- align = "center";
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement