Advertisement
TheRealJustMike

RscDisplayBleedingOut.hpp

Aug 24th, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1.  
  2. #define BleedoutDefine(ctrl) ((uiNamespace getVariable ["Life_Death_Screen",displayNull]) displayCtrl ctrl)
  3. #define BLEEDOUTdisplay (uiNamespace getVariable ["Life_Death_Screen",displayNull])
  4. class Life_Death_Screen {
  5. idd = 73001;
  6. duration = 10e10;
  7. movingEnable = 0;
  8. name = "Life_Death_Screen";
  9. onLoad = "uiNamespace setVariable ['Life_Death_Screen', _this select 0]";
  10. onUnload = "uiNamespace setVariable ['Life_Death_Screen', objNull]";
  11. onDestroy = "uiNamespace setVariable ['Life_Death_Screen', objNull]";
  12.  
  13. class controlsBackground {
  14. class RscDisplayBackground: life_RscText {
  15. idc = -1;
  16. x = "safezoneX";
  17. y = "safezoneY";
  18. w = "safezoneW";
  19. h = "safezoneH";
  20. colorBackground[] = { 0.3, 0.3, 0.3, 0.5 };
  21. };
  22. };
  23. class Controls {
  24. class Background: Life_RscText {
  25. idc = -1;
  26. x = safeZoneX + safeZoneW * 0;
  27. y = safeZoneY + safeZoneH * 0.84555556;
  28. w = safeZoneW * 1.005625;
  29. h = safeZoneH * 0.11777778;
  30. colorBackground[] = {0.2,0.2,0.2,1};
  31. };
  32. class Title: Life_RscText {
  33. idc = -1;
  34. text = "BLEEDING OUT";
  35. x = safeZoneX + safeZoneW * 0.439375;
  36. y = safeZoneY + safeZoneH * 0.84111112;
  37. w = safeZoneW * 0.273125;
  38. h = safeZoneH * 0.05444445;
  39. font = "PuristaMedium";
  40. shadow = 0;
  41. };
  42. class Title_Sub: Life_RscText {
  43. idc = 99533;
  44. text = "RESPAWN NOT AVAILAIBLE";
  45. x = safeZoneX + safeZoneW * 0.4175;
  46. y = safeZoneY + safeZoneH * 0.91444445;
  47. w = safeZoneW * 0.273125;
  48. h = safeZoneH * 0.05444445;
  49. font = "PuristaMedium";
  50. shadow = 0;
  51. };
  52. class ProgressBackground: Life_RscText {
  53. idc = -1;
  54. x = safeZoneX + safeZoneW * 0.2925;
  55. y = safeZoneY + safeZoneH * 0.88777778;
  56. w = safeZoneW * 0.414375;
  57. h = safeZoneH * 0.03555556;
  58. colorBackground[] = {0.15,0.15,0.15,1};
  59. };
  60. class Progress: Life_RscProgress {
  61. idc = 99532;
  62. x = safeZoneX + safeZoneW * 0.2925;
  63. y = safeZoneY + safeZoneH * 0.88777778;
  64. w = safeZoneW * 0.414375;
  65. h = safeZoneH * 0.03555556;
  66. colorBar[] = {0.69,0.03,0,1};
  67. colorFrame[] = {0,0,0,0};
  68. };
  69. };
  70. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement