Advertisement
DarkSilencer

Untitled

Feb 23rd, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. class Chop_Shop
  2. {
  3. idd = 39400;
  4. movingEnabled = 0;
  5. enableSimulation = 1;
  6.  
  7. class controlsBackground
  8. {
  9. class RscTitleBackground : Life_RscText
  10. {
  11. 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])"};
  12. idc = -1;
  13. x = 0.1; y = 0.2;
  14. w = 0.32; h = (1 / 25);
  15. };
  16.  
  17. class MainBackGround : Life_RscText
  18. {
  19. colorBackground[] = {0,0,0,0.7};
  20. idc = -1;
  21. x = 0.1; y = 0.2 + (11 / 250);
  22. w = 0.32; h = 0.6 - (22 / 250);
  23. };
  24.  
  25. class Title : Life_RscTitle
  26. {
  27. colorBackground[] = {0,0,0,0};
  28. idc = -1;
  29. text = "$STR_ChopShop_Title";
  30. x = 0.1; y = 0.2;
  31. w = 0.32; h = (1 / 25);
  32. };
  33.  
  34. class priceInfo : Life_RscStructuredText
  35. {
  36. idc = 39401;
  37. text = "";
  38. sizeEx = 0.035;
  39. x = 0.11; y = 0.68;
  40. w = 0.2; h = 0.2;
  41. };
  42. };
  43.  
  44. class controls
  45. {
  46. class vehicleList : Life_RscListBox
  47. {
  48. idc = 39402;
  49. onLBSelChanged = "_this call life_fnc_chopShopSelection";
  50. sizeEx = 0.04;
  51. x = 0.11; y = 0.25;
  52. w = 0.3; h = 0.38;
  53. };
  54.  
  55. class BtnSell : Life_RscButtonMenu
  56. {
  57. idc = -1;
  58. text = "$STR_Global_Sell";
  59. onButtonclick = "[] call life_fnc_chopShopSell;";
  60. x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
  61. y = 0.8 - (1 / 25);
  62. w = (6.25 / 40);
  63. h = (1 / 25);
  64. };
  65.  
  66. class BtnClose : Life_RscButtonMenu
  67. {
  68. idc = -1;
  69. text = "$STR_Global_Close";
  70. onButtonClick = "closeDialog 0";
  71. x = 0.1;
  72. y = 0.8 - (1 / 25);
  73. w = (6.25 / 40);
  74. h = (1 / 25);
  75. };
  76.  
  77. class BtnSteal : Life_RscButtonMenu
  78. {
  79. idc = -1;
  80. text = "Make Yours";
  81. colorBackground[] = {0,0.2235294117647059,0.3725490196078431,1};
  82. onButtonclick = "[] call life_fnc_chopShopClaim;";
  83. x = 0.1 + (((6.25 / 40) + (1 / 250 / (safezoneW / safezoneH)))*2);
  84. y = 0.8 - (1 / 25);
  85. w = (6.25 / 40);
  86. h = (1 / 25);
  87. };
  88. };
  89. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement