Advertisement
Guest User

Toxi_Bus_Menu.hpp

a guest
Jun 15th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. /*
  2.  
  3. Author: ToxicRageTv
  4. File: Toxic_Bus_Menu.hpp
  5.  
  6. */
  7. class Toxic_Bus_Menu {
  8. idd = 1;
  9. movingEnable = 1;
  10. enableSimulation = 1;
  11. onLoad = "uiNamespace setVariable ['Toxic_Bus_Menu',_this select 0]";
  12.  
  13. class controlsBackground {
  14. class backgroundMain: Life_RscText {
  15. idc = 2200;
  16. colorBackground[] = {0,0,0,0.5};
  17. x = 0.43304 * safezoneW + safezoneX;
  18. y = 0.313091 * safezoneH + safezoneY;
  19. w = 0.139172 * safezoneW;
  20. h = 0.373939 * safezoneH;
  21. };
  22. class topTrim: Life_RscText {
  23. idc = 1000;
  24. text = "Bus Menu"; //--- ToDo: Localize;
  25. x = 0.427837 * safezoneW + safezoneX;
  26. y = 0.286011 * safezoneH + safezoneY;
  27. w = 0.144326 * safezoneW;
  28. h = 0.0219964 * safezoneH;
  29. colorBackground[] = {1,0.341,0.2,1};
  30. };
  31. class trimLeft: Life_RscText {
  32. idc = 1001;
  33. x = 0.428893 * safezoneW + safezoneX;
  34. y = 0.313091 * safezoneH + safezoneY;
  35. w = 0.0041236 * safezoneW;
  36. h = 0.373939 * safezoneH;
  37. colorBackground[] = {1,0.341,0.2,1};
  38. };
  39. };
  40.  
  41. class controls {
  42. class interactionList: Life_RscListbox {
  43. idc = 1500;
  44. onLBDblClick = "";
  45. x = 0.438167 * safezoneW + safezoneX;
  46. y = 0.324052 * safezoneH + safezoneY;
  47. w = 0.128863 * safezoneW;
  48. h = 0.318948 * safezoneH;
  49. //style = ST_CENTER;
  50. sizeEx = GUI_GRID_CENTER_H;
  51. };
  52. class interactButton: Life_RscButtonMenu {
  53. idc = 2400;
  54. text = "Get On Bus"; //--- ToDo: Localize;
  55. onButtonClick = "[] spawn toxic_fnc_busStart";
  56. x = 0.438168 * safezoneW + safezoneX;
  57. y = 0.654004 * safezoneH + safezoneY;
  58. w = 0.128863 * safezoneW;
  59. h = 0.0219964 * safezoneH;
  60. colorBackground[] = {1,0.341,0.2,1};
  61. sizeEx = GUI_GRID_CENTER_H;
  62. };
  63. class MapView: Life_RscMapControl {
  64. idc = 1919;
  65. x = 0 * safezoneW + safezoneX;
  66. y = 0 * safezoneH + safezoneY;
  67. w = 1 * safezoneW;
  68. h = 1 * safezoneH;
  69. maxSatelliteAlpha = 0.75;
  70. alphaFadeStartScale = 1.15;
  71. alphaFadeEndScale = 1.29;
  72. };
  73. };
  74. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement