Hello I created a custom hud, and I had to create a file: argent.hpp information for money. The problem is that the information is not displayed.
argent.hpp
Code
#include "player_sys.sqf"
class Life_argent {
idd = 2001;
movingEnable = 1;
enableSimulation = 1;
class controlsBackground {
class life_RscPicture_1200: life_RscPicture
{
idc = -1;
text = "textures\hud\iphone.paa";
x = 0.645204 * safezoneW + safezoneX;
y = 0.302027 * safezoneH + safezoneY;
w = 0.414869 * safezoneW;
h = 0.7259 * safezoneH;
};
class Title: Life_RscTitle
{
colorBackground[] = {0, 0, 0, 1};
idc = -1;
text = "$STR_PM_Title";
x = 0.732362 * safezoneW + safezoneX;
y = 0.368042 * safezoneH + safezoneY;
w = 0.136 * safezoneW;
h = 0.021993 * safezoneH;
};
class moneyStatusInfo: Life_RscStructuredText {
idc = 2015;
sizeEx = 0.020;
text = "";
x = 0.738585 * safezoneW + safezoneX;
y = 0.401032 * safezoneH + safezoneY;
w = 0.124479 * safezoneW;
h = 0.120961 * safezoneH;
};
class PlayersName: Title
{
idc = carry_weight;
style = 1;
text = "";
};
};
class controls {
class moneyEdit: Life_RscEdit {
idc = 2018;
text = "1";
sizeEx = 0.030;
x = 0.738585 * safezoneW + safezoneX;
y = 0.532989 * safezoneH + safezoneY;
w = 0.124479 * safezoneW;
h = 0.021993 * safezoneH;
};
class NearPlayers: Life_RscCombo {
idc = 2022;
x = 0.738585 * safezoneW + safezoneX;
y = 0.565979 * safezoneH + safezoneY;
w = 0.124479 * safezoneW;
h = 0.021993 * safezoneH;
};
class moneyDrop: NRD_RscButton_Frenchis {
idc = 2001;
text = "$STR_Global_Give";
onButtonClick = "[] call life_fnc_giveMoney";
x = 0.738585 * safezoneW + safezoneX;
y = 0.598968 * safezoneH + safezoneY;
w = 0.124479 * safezoneW;
h = 0.0439859 * safezoneH;
};
class ButtonClose: Life_Invisible
{
idc = -1;
onButtonClick = "closeDialog 0;";
x = 0.788334 * safezoneW + safezoneX;
y = 0.785961 * safezoneH + safezoneY;
w = 0.0259293 * safezoneW;
h = 0.043994 * safezoneH;
};
};
};
Alles anzeigen
Altis Life 4.5