Advertisement
Guest User

Untitled

a guest
Dec 6th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. class Life_Cop_Placeables {
  2. idd = 20000;
  3. name= "life_cop_placeables";
  4. movingEnable = false;
  5. enableSimulation = true;
  6. onLoad = "";
  7. class controlsBackground {
  8. class Life_RscTitleBackground: Life_RscText {
  9. colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
  10. idc = -1;
  11. x = 0.1;
  12. y = 0.2;
  13. w = 0.6;
  14. h = (1 / 25);
  15. };
  16. class MainBackground: Life_RscText {
  17. colorBackground[] = {0, 0, 0, 0.7};
  18. idc = -1;
  19. x = 0.1;
  20. y = 0.2 + (11 / 250);
  21. w = 0.6;
  22. h = 0.6 - (22 / 250);
  23. };
  24. };
  25. class controls {
  26. class Title : Life_RscTitle {
  27. colorBackground[] = {0, 0, 0, 0};
  28. idc = -1;
  29. text = "Liste des objets";
  30. x = 0.1;
  31. y = 0.2;
  32. w = 0.6;
  33. h = (1 / 25);
  34. };
  35. class PlaceablesList : Life_RscListBox {
  36. idc = 20001;
  37. text = "";
  38. sizeEx = 0.035;
  39. x = 0.12;
  40. y = 0.26;
  41. w = 0.56;
  42. h = 0.370;
  43. };
  44. class CloseButtonKey : Life_RscButtonMenu {
  45. idc = -1;
  46. text = "$STR_Global_Close";
  47. onButtonClick = "closeDialog 0;";
  48. x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  49. y = 0.8 - (1 / 25);
  50. w = (6.25 / 40);
  51. h = (1 / 25);
  52. };
  53. class RemoveAll : life_RscButtonMenu {
  54. idc = -1;
  55. text = "Retirer tous";
  56. onButtonClick = "[] call life_fnc_placeablesRemoveAll";
  57. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  58. y = 0.8 - (1 / 25);
  59. w = (6.25 / 40);
  60. h = (1 / 25);
  61. };
  62. class Place : Life_RscButtonMenu {
  63. idc = -1;
  64. text = "Placer";
  65. colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
  66. onButtonClick = "[] spawn life_fnc_placeablePlace;";
  67. x = 0.32;
  68. y = 0.69;
  69. w = (6.25 / 40);
  70. h = (1 / 25);
  71. };
  72. };
  73. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement