Einen wunderschönen guten Abend.
Ich habe das Problem, dass die Lizenzen in einem selbst erstellten Dialog nicht mehr angezeigt werden. Alles andere geht und wird normal angezeigt.
Spoiler anzeigen
/////////////////////////////////////////////////////////////////
/////////// This File was Edited by GUI D3V by Shinji ///////////
/////////////////////////////////////////////////////////////////
#include "player_sys.sqf"
class playerSettings {
idd = playersys_DIALOG;
movingenable = 1;
enablesimulation = 1;
class controlsBackground
{
class Background : life_RscPicture
{
text = "textures\tablet.paa";
x = 0.188541666666667 * safezoneW + safezoneX;
y = 0.158308751229105 * safezoneH + safezoneY;
w = 0.698958333333333 * safezoneW;
h = 0.72173058013766 * safezoneH;
idc = -1;
};
class PlayersName : Life_RscTitle
{
idc = carry_weight;
x = 0.743229166666667 * safezoneW + safezoneX;
y = 0.240904621435595 * safezoneH + safezoneY;
w = 0.06 * safezoneW;
h = 0.0340019665683382 * safezoneH;
};
class moneyStatusInfo : Life_RscStructuredText
{
x = 0.44 * safezoneW + safezoneX;
y = 0.58 * safezoneH + safezoneY;
h = 0.0807669616519174 * safezoneH;
w = 0.16 * safezoneW;
colortext[] = {1. 1. 1. 1.0};
idc = 2015;
};
};
class controls
{
class ButtonSettings : Life_RscButtonMenu
{
text = "$STR_Global_Settings";
onbuttonclick = "[] call life_fnc_settingsMenu;";
idc = 1000;
x = 0.26 * safezoneW + safezoneX;
y = 0.24 * safezoneH + safezoneY;
w = 0.035 * safezoneW;
h = 0.06 * safezoneH;
};
class ButtonSyncData : Life_RscButtonMenu
{
text = "$STR_PM_SyncData";
onbuttonclick = "[] call SOCK_fnc_syncData;";
idc = 1000;
x = 0.3 * safezoneW + safezoneX;
y = 0.24 * safezoneH + safezoneY;
w = 0.035 * safezoneW;
h = 0.06 * safezoneH;
};
class ButtonCell : Life_RscButtonMenu
{
idc = 2014;
text = "$STR_PM_CellPhone";
onbuttonclick = "createDialog ""Life_my_smartphone"";";
x = 0.3 * safezoneW + safezoneX;
y = 0.58 * safezoneH + safezoneY;
w = 0.035 * safezoneW;
h = 0.06 * safezoneH;
};
class ButtonKeys : Life_RscButtonMenu
{
idc = 2013;
text = "$STR_PM_KeyChain";
onbuttonclick = "createDialog ""Life_key_management"";";
x = 0.26 * safezoneW + safezoneX;
y = 0.58 * safezoneH + safezoneY;
w = 0.035 * safezoneW;
h = 0.06 * safezoneH;
};
class ButtonMarket : Life_RscButtonMenu
{
idc = 3025;
text = "Börse";
onbuttonclick = "createDialog ""life_dynmarket_prices"";";
x = 0.3 * safezoneW + safezoneX;
y = 0.65 * safezoneH + safezoneY;
w = 0.035 * safezoneW;
h = 0.06 * safezoneH;
};
class ButtonAdminMenu : Life_RscButtonMenu
{
idc = 2021;
text = "$STR_PM_AdminMenu";
onbuttonclick = "closeDialog 0; createDialog ""life_admin_menu"";";
x = 0.3 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY;
w = 0.035 * safezoneW;
h = 0.06 * safezoneH;
};
class ButtonGangList : Life_RscButtonMenu
{
idc = 2011;
text = "$STR_PM_MyGang";
onbuttonclick = "if (isNil ""life_action_gangInUse"") then {if (isNil {(group player) getVariable ""gang_owner""}) then {createDialog ""Life_Create_Gang_Diag"";} else {[] spawn life_fnc_gangMenu;};};";
x = 0.26 * safezoneW + safezoneX;
y = 0.65 * safezoneH + safezoneY;
w = 0.035 * safezoneW;
h = 0.06 * safezoneH;
};
class ButtonHolyHelp : Life_RscButtonMenu
{
text = "Hilfe";
onbuttonclick = "createDialog 'holy_help'";
idc = 1000;
x = 0.26 * safezoneW + safezoneX;
y = 0.72 * safezoneH + safezoneY;
w = 0.035 * safezoneW;
h = 0.06 * safezoneH;
};
class ButtonClose : Life_RscButtonMenu
{
text = "$STR_Global_Close";
onbuttonclick = "closeDialog 0;";
idc = 1000;
x = 0.34 * safezoneW + safezoneX;
y = 0.24 * safezoneH + safezoneY;
w = 0.035 * safezoneW;
h = 0.06 * safezoneH;
};
class moneyEdit : Life_RscEdit
{
idc = 2018;
text = "1";
sizeex = 0.030;
x = 0.44 * safezoneW + safezoneX;
y = 0.667885939036381 * safezoneH + safezoneY;
w = 0.16 * safezoneW;
h = 0.03 * safezoneH;
};
class NearPlayers : Life_RscCombo
{
x = 0.44 * safezoneW + safezoneX;
y = 0.706234021632252 * safezoneH + safezoneY;
w = 0.16 * safezoneW;
h = 0.035 * safezoneH;
idc = 2022;
};
class moneyDrop : Life_RscButtonMenu
{
idc = 1013;
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])", 0.5};
onbuttonclick = "[] call life_fnc_giveMoney";
x = 0.44 * safezoneW + safezoneX;
y = 0.75 * safezoneH + safezoneY;
w = 0.05 * safezoneW;
h = 0.035 * safezoneH;
};
class moneyStats : 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";
x = 0.44 * safezoneW + safezoneX;
y = 0.54197197640118 * safezoneH + safezoneY;
h = 0.037 * safezoneH;
w = 0.16 * safezoneW;
};
class Life_Licenses : Life_RscStructuredText {
idc = 2014;
sizeEx = 0.020;
colortext[] = {1. 1. 1. 1.0};
x = 0.44 * safezoneW + safezoneX;
y = 0.279252704031465 * safezoneH + safezoneY;
h = 0.245821042281219 * safezoneH;
w = 0.16 * safezoneW;
};
class licenseHeader : 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_Licenses";
x = 0.44 * safezoneW + safezoneX;
y = 0.24 * safezoneH + safezoneY;
h = 0.037 * safezoneH;
w = 0.16 * safezoneW;
};
class itemHeader : 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_cItems";
sizeex = 0.04;
x = 0.64 * safezoneW + safezoneX;
y = 0.24 * safezoneH + safezoneY;
h = 0.037 * safezoneH;
w = 0.10 * safezoneW;
};
class itemList : Life_RscListBox
{
idc = item_list;
sizeex = 0.030;
w = 0.16 * safezoneW;
h = 0.245821042281219 * safezoneH;
x = 0.64 * safezoneW + safezoneX;
y = 0.279252704031465 * safezoneH + safezoneY;
};
class itemEdit : Life_RscEdit
{
idc = item_edit;
text = "1";
sizeex = 0.030;
x = 0.64 * safezoneW + safezoneX;
y = 0.54197197640118 * safezoneH + safezoneY;
w = 0.16 * safezoneW;
h = 0.03 * safezoneH;
};
class iNearPlayers : Life_RscCombo
{
x = 0.64 * safezoneW + safezoneX;
y = 0.58 * safezoneH + safezoneY;
w = 0.16 * safezoneW;
h = 0.035 * safezoneH;
idc = 2023;
};
class DropButton : Life_RscButtonMenu
{
idc = 2002;
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])", 0.5};
onbuttonclick = "[] call life_fnc_giveItem;";
x = 0.64 * safezoneW + safezoneX;
y = 0.627534414945919 * safezoneH + safezoneY;
w = 0.05 * safezoneW;
h = 0.035 * safezoneH;
};
class UseButton : Life_RscButtonMenu
{
text = "$STR_Global_Use";
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};
onbuttonclick = "[] call life_fnc_useItem;";
idc = 1000;
x = 0.695 * safezoneW + safezoneX;
y = 0.627534414945919 * safezoneH + safezoneY;
w = 0.05 * safezoneW;
h = 0.035 * safezoneH;
};
class RemoveButton : Life_RscButtonMenu
{
text = "$STR_Global_Remove";
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};
onbuttonclick = "[] call life_fnc_removeItem;";
idc = 1000;
x = 0.750208333333333 * safezoneW + safezoneX;
y = 0.627534414945919 * safezoneH + safezoneY;
w = 0.05 * safezoneW;
h = 0.035 * safezoneH;
};
};
};
/////////////////////////////////////////////////////////////////
////////////////////////// FILE END /////////////////////////////
/////////////////////////////////////////////////////////////////