Wolte unser Admin Menü optisch besser machen aber der Hintergrund wird nicht angezeigt vielleicht kann mir jemand weiter helfen
Code
class life_admin_menu {
idd = 2900;
name= "life_admin_menu";
movingEnable = 0;
enableSimulation = 1;
onLoad = "[] spawn life_fnc_adminMenu;";
class controlsBackground {
class MainBackground: Life_RscText
{
idc = -1;
text = "Textures\arma3ad.png";
x = 0.204548 * safezoneW + safezoneX;
y = 0.230493 * safezoneH + safezoneY;
w = 0.572916 * safezoneW;
h = 0.594444 * safezoneH;
ColorBackground[] = {1,1,1,0};
ColorText[] = {1,1,1,0};
};
class Life_RscTitleBackground: Life_RscText
{
idc = 2999;
text = "$STR_Admin_Title";
x = 0.278298 * safezoneW + safezoneX;
y = 0.354293 * safezoneH + safezoneY;
w = 0.37125 * safezoneW;
h = 0.050273 * safezoneH;
ColorBackground[] = {0.094117,0.094117,0.094117,0};
ColorText[] = {1,1,1,1};
};
};
class controls {
class RscButtonMenu_2400: Life_RscButtonMenu
{
idc = 5999;
text = "$STR_Global_Close";
onButtonClick = "closeDialog 0;";
x = 0.620485 * safezoneW + safezoneX;
y = 0.663937 * safezoneH + safezoneY;
w = 0.061875 * safezoneW;
h = 0.022 * safezoneH;
ColorBackground[] = {0.090196,0.090196,0.090196,0.658823};
ColorText[] = {1,1,1,1};
};
class RscButtonMenu_2402: Life_RscButtonMenu
{
idc = 8999;
text = "$STR_Admin_GetID";
onButtonClick = "[] call life_fnc_adminGetID;";
x = 0.551735 * safezoneW + safezoneX;
y = 0.638012 * safezoneH + safezoneY;
w = 0.061875 * safezoneW;
h = 0.022 * safezoneH;
ColorBackground[] = {0.090196,0.090196,0.090196,0.658823};
ColorText[] = {1,1,1,1};
};
class RscButtonMenu_2403: Life_RscButtonMenu
{
idc = 2904;
text = "$STR_Admin_Compensate";
onButtonClick = "createDialog ""Life_Admin_Compensate"";";
x = 0.551735 * safezoneW + safezoneX;
y = 0.689863 * safezoneH + safezoneY;
w = 0.061875 * safezoneW;
h = 0.022 * safezoneH;
ColorBackground[] = {0.090196,0.090196,0.090196,0.658823};
ColorText[] = {1,1,1,1};
};
class RscButtonMenu_2404: Life_RscButtonMenu
{
idc = 2905;
text = "$STR_Admin_Spectate";
onButtonClick = "[] call life_fnc_adminSpectate;";
x = 0.620485 * safezoneW + safezoneX;
y = 0.638012 * safezoneH + safezoneY;
w = 0.061875 * safezoneW;
h = 0.022 * safezoneH;
ColorBackground[] = {0.090196,0.090196,0.090196,0.658823};
ColorText[] = {1,1,1,1};
};
class RscButtonMenu_2405: Life_RscButtonMenu
{
idc = 2906;
text = "$STR_Admin_Teleport";
onButtonClick = "[] call life_fnc_adminTeleport; hint 'Select where you would like to teleport';";
x = 0.620485 * safezoneW + safezoneX;
y = 0.689863 * safezoneH + safezoneY;
w = 0.061875 * safezoneW;
h = 0.022 * safezoneH;
ColorBackground[] = {0.090196,0.090196,0.090196,0.658823};
ColorText[] = {1,1,1,1};
};
class RscButtonMenu_2401: Life_RscButtonMenu
{
idc = 2907;
text = "$STR_Admin_TpHere";
onButtonClick = "[] call life_fnc_adminTpHere;";
x = 0.620485 * safezoneW + safezoneX;
y = 0.613937 * safezoneH + safezoneY;
w = 0.061875 * safezoneW;
h = 0.022 * safezoneH;
ColorBackground[] = {0.090196,0.090196,0.090196,0.658823};
ColorText[] = {1,1,1,1};
};
class RscButtonMenu_2406: Life_RscButtonMenu
{
idc = 2908;
text = "$STR_Admin_God";
onButtonClick = "[] call life_fnc_adminGodMode;";
x = 0.551735 * safezoneW + safezoneX;
y = 0.612086 * safezoneH + safezoneY;
w = 0.061875 * safezoneW;
h = 0.022 * safezoneH;
ColorBackground[] = {0.090196,0.090196,0.090196,0.658823};
ColorText[] = {1,1,1,1};
};
class RscButtonMenu_2407: Life_RscButtonMenu
{
idc = 2909;
text = "$STR_Admin_Freeze";
onButtonClick = "[] call life_fnc_adminFreeze;";
x = 0.551735 * safezoneW + safezoneX;
y = 0.663937 * safezoneH + safezoneY;
w = 0.061875 * safezoneW;
h = 0.022 * safezoneH;
ColorBackground[] = {0.090196,0.090196,0.090196,0.658823};
ColorText[] = {1,1,1,1};
};
class RscButtonMenu_2408: Life_RscButtonMenu
{
idc = 2910;
text = "$STR_Admin_Markers";
onButtonClick = "[] spawn life_fnc_adminMarkers;closeDialog 0;";
x = 0.551735 * safezoneW + safezoneX;
y = 0.713937 * safezoneH + safezoneY;
w = 0.061875 * safezoneW;
h = 0.022 * safezoneH;
ColorBackground[] = {0.090196,0.090196,0.090196,0.658823};
ColorText[] = {1,1,1,1};
};
class RscButtonMenu_2409: Life_RscButtonMenu
{
idc = 2911;
text = "$STR_Admin_Debug";
onButtonClick = "[] call life_fnc_adminDebugCon;";
x = 0.620485 * safezoneW + safezoneX;
y = 0.713937 * safezoneH + safezoneY;
w = 0.061875 * safezoneW;
h = 0.022 * safezoneH;
ColorBackground[] = {0.090196,0.090196,0.090196,0.658823};
ColorText[] = {1,1,1,1};
};
};
};
Alles anzeigen
Das kommt dabei raus