Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class RscTitles
- {
- #define screenwidth (1 - safeZonex*2)
- #define screenheight (1 - safeZoney*2)
- #include "easyNameTags\ENT_tag.hpp"
- class RPP_Dlg_UI
- {
- idd = 100;
- movingEnable = true;
- controlsBackground[] = { Background, moneyText };
- duration = 100000000;
- fadein = 0;
- name = "RPP_Dlg_UI";
- objects[] = { };
- controls[] = { };
- onLoad = "RPP_display_ui = _this;";
- class Background : RscBackground
- {
- x = safeZoneX;
- y = safeZoneY;
- w = safeZoneW;
- h = 0.025;
- text = "";
- colorBackground[] = {0, 0, 0, 0};
- colorText[] = {1, 1, 1, 1};
- };
- class moneyText : RPP_StructuredText
- {
- idc = 1;
- x = safeZoneX;
- y = safeZoneY;
- w = safeZoneW;
- h = 0.3;
- size = 0.028;
- text = "";
- };
- };
- class RPP_Dlg_HUD
- {
- idd = 101;
- movingEnable = true;
- controlsBackground[] = { Background, moneyText };
- duration = 100000000;
- fadein = 0;
- name = "RPP_Dlg_HUD";
- objects[] = { };
- controls[] = { };
- onLoad = "RPP_display_hud = _this;";
- class Background : RscBackground
- {
- x = safeZoneX + (safeZoneW * (1 - (0.16 / SafeZoneW)));
- y = safeZoneY + (safeZoneH * (1 - (0.23 / SafeZoneH)));
- w = 0.14;
- h = 0.23;
- lineSpacing = 2;
- text = "";
- colorBackground[] = {0, 0, 0, 0};
- colorText[] = {1, 1, 1, 1};
- };
- class moneyText : RPP_StructuredText
- {
- idc = 1;
- x = safeZoneX + (safeZoneW * (1 - (0.16 / SafeZoneW)));
- y = safeZoneY + (safeZoneH * (1 - (0.26 / SafeZoneH)));
- w = 0.14;
- h = 0.23;
- size = 0.040;
- text = "";
- };
- };
- class RPP_Dlg_Progress
- {
- idd = 400;
- movingEnable = true;
- controlsBackground[] = { progressText };
- duration = 100000000;
- fadein = 0;
- name = "RPP_Dlg_Progress";
- objects[] = { };
- controls[] = { };
- onLoad = "RPP_display_progress = _this;";
- class progressText : RPP_StructuredText
- {
- idc = 1;
- x = 0.40;
- y = 0.5;
- w = 1.75;
- h = 0.3;
- size = 0.028;
- text = "Progress: 0%";
- };
- };
- class Rtags
- {
- idd=64431;
- movingEnable = true;
- fadein = 0;
- fadeout = 0;
- duration = 0.1;
- name="TAGS_HUD";
- controls[]={"vehicle_hud_name","vehicle_hud_speed","vehicle_hud_fuel","vehicle_hud_damage","vehicle_hud_direction", "nametag", "interact"};
- onLoad="uiNamespace setVariable ['TAGS_HUD', _this select 0]";
- class vehicle_hud_name
- {
- type = 0;
- idc = 64432;
- style = 0;
- x = 0.87;
- y = 0.725;
- w = 0.2;
- h = 0.2;
- font = "Zeppelin33Italic";
- sizeEx = 0.019;
- colorText[] = {1.0, 1.0, 1.0, 0.9};
- colorBackground[]={0,0,0,0.0};
- text = "";
- };
- class vehicle_hud_speed
- {
- type = 0;
- idc = 64433;
- style = 0;
- x = 0.87;
- y = 0.755;
- w = 0.2;
- h = 0.2;
- font = "Zeppelin33Italic";
- sizeEx = 0.019;
- colorText[] = {1.0, 1.0, 1.0, 0.9};
- colorBackground[]={0,0,0,0.0};
- text = "";
- };
- class vehicle_hud_fuel
- {
- type = 0;
- idc = 64434;
- style = 0;
- x = 0.87;
- y = 0.785;
- w = 0.2;
- h = 0.2;
- font = "Zeppelin33Italic";
- sizeEx = 0.019;
- colorText[] = {1.0, 1.0, 1.0, 0.9};
- colorBackground[]={0,0,0,0.0};
- text = "";
- };
- class vehicle_hud_damage
- {
- type = 0;
- idc = 64435;
- style = 0;
- x = 0.87;
- y = 0.815;
- w = 0.2;
- h = 0.2;
- font = "Zeppelin33Italic";
- sizeEx = 0.019;
- colorText[] = {1.0, 1.0, 1.0, 0.9};
- colorBackground[]={0,0,0,0.0};
- text = "";
- };
- class vehicle_hud_direction
- {
- type = 0;
- idc = 64436;
- style = 0;
- x = 0.87;
- y = 0.845;
- w = 0.2;
- h = 0.2;
- font = "Zeppelin33Italic";
- sizeEx = 0.019;
- colorText[] = {1.0, 1.0, 1.0, 0.9};
- colorBackground[]={0,0,0,0.0};
- text = "";
- };
- class nametag
- {
- type = 0;
- idc = 64437;
- style = 0;
- x = 0.44;
- y = 0.40;
- w = 0.3;
- h = 0.2;
- font = "Bitstream";
- shadow = 2;
- sizeEx = 0.03;
- colorText[] = {1,1,1,1};
- colorBackground[] = {0, 0, 0, 0};
- text = "";
- };
- class interact
- {
- type = 0;
- idc = 64438;
- style = 0;
- x = 0.50;
- y = 0.47;
- w = 0.3;
- h = 0.2;
- font = "Bitstream";
- shadow = 2;
- sizeEx = 0.03;
- colorText[] = {1,1,1,1};
- colorBackground[] = {0, 0, 0, 0};
- text = "";
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement