Moin! Habe einen fehler und zwar habe ich ein Tablet für mein altis server erstellt und ein neuen dialog wo nur da geld angezeigt wird und wo man welches geben kann... es funktioniert auch alles relativ, und zwar zeigt er mir den structuredtext nicht an (also den kontostand und das bargeld) mein dialog sieht so aus:
Spoiler anzeigen
Code
#include "player_sys.sqf"
class Life_money_management {
idd = playersys_DIALOG;
name= "Life_money_management";
movingEnable = 0;
enableSimulation = 1;
onLoad = "[] spawn life_fnc_p_updatemenu";
class controlsBackground {
class backgroundtablet: life_RscPicture
{
idc = 1200;
text = "tablet\tabletblank.paa";
x = 0.288594 * safezoneW + safezoneX;
y = 0.126 * safezoneH + safezoneY;
w = 0.422812 * safezoneW;
h = 0.77 * safezoneH;
};
};
class controls {
class moneyStatusInfo : Life_RscStructuredText
{
idc = 2015;
sizeEx = 0.020;
text = "";
x = 0.309219 * safezoneW + safezoneX;
y = 0.3042 * safezoneH + safezoneY;
w = 0.12375 * safezoneW;
h = 0.088 * safezoneH;
};
class moneySHeader : Life_RscText
{
idc = -1;
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])", 0.5};
text = "$STR_PM_MoneyStats";
sizeEx = 0.04;
x = 0.309219 * safezoneW + safezoneX;
y = 0.28 * safezoneH + safezoneY;
w = 0.12375 * safezoneW;
h = 0.022 * safezoneH;
};
class moneyEdit : Life_RscEdit
{
idc = 2018;
text = "1";
sizeEx = 0.030;
x = 0.309219 * safezoneW + safezoneX;
y = 0.401 * safezoneH + safezoneY;
w = 0.12375 * safezoneW;
h = 0.022 * safezoneH;
};
class NearPlayers : Life_RscCombo
{
idc = 2022;
x = 0.309219 * safezoneW + safezoneX;
y = 0.4362 * safezoneH + safezoneY;
w = 0.12375 * safezoneW;
h = 0.022 * safezoneH;
};
class moneyDrop : Life_RscButtonMenu
{
idc = 2001;
text = "$STR_Global_Give";
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])", 1};
onButtonClick = "[] call life_fnc_giveMoney";
sizeEx = 0.035;
x = 0.309219 * safezoneW + safezoneX;
y = 0.467 * safezoneH + safezoneY;
w = 0.12375 * safezoneW;
h = 0.055 * safezoneH;
style = 0x02;
type = 1;
ColorText[] = {1,1,1,1};
colorBackgroundActive[] = {1,1,1,0.6};
colorBackgroundDisabled[] = {0,0,0,0.5};
offsetX = 0.003;
offsetY = 0.003;
offsetPressedX = 0.002;
offsetPressedY = 0.002;
colorShadow[] = {0,0,0,0};
colorBorder[] = {0,0,0,0};
borderSize = 0.008;
};
};
};
Alles anzeigen
Weiß jemand wieso das nicht angezeigt wird?