Moin! Ich habe mit dem Tool GUI D3V 2.0 einen Dialog für Altis Life erstellt jedoch werden die Buttons usw. nicht beschrieben.
Die Errors im Log:
Code
8:36:45 Warning: no type entry inside class whitelist/controls/uprank 8:36:45 Warning: no type entry inside class whitelist/controls/close 8:36:45 Warning: no type entry inside class whitelist/controls/bestatigen 8:36:45 Warning: no type entry inside class whitelist/controls/derank
Der Dialog an sich:
Code
/////////////////////////////////////////////////////////////////
/////////// This File was Edited by GUI D3V by Shinji ///////////
/////////////////////////////////////////////////////////////////
class whitelist {
idd = 46032;
name = "whitelist";
movingenable = false;
enablesimulation = true;
class controlsBackground
{
};
class controls
{
class Life_RscFrame0 : Life_RscFrame
{
idc = 7541;
colorbackground[] = {0,0,0,0.592156862745098};
x = 0.165104166666667 * safezoneW + safezoneX;
y = 0.15929203539823 * safezoneH + safezoneY;
w = 0.674479166666667 * safezoneW;
h = 0.813176007866273 * safezoneH;
};
class spielerliste : Life_RscListBox
{
idc = 1500;
w = 0.228125 * safezoneW;
h = 0.549006882989184 * safezoneH;
x = 0.20625 * safezoneW + safezoneX;
y = 0.189773844641101 * safezoneH + safezoneY;
colorselect[] = {0.729411764705882,0.729411764705882,0.729411764705882,1};
colortext[] = {0,0,0,1};
onlbselchanged = [] execVM "dialog\function\rang.sqf";
};
class uprank : Life_RscButton
{
x = 0.677604166666667 * safezoneW + safezoneX;
y = 0.610677152409046 * safezoneH + safezoneY;
w = 0.131127833333333 * safezoneW;
h = 0.039216 * safezoneH;
idc = 5462;
text = "Uprank";
onmousebuttondown = [[lbText [1500,(lbCurSel 1500)]]] execVM 'dialog\function\fn_uprank.sqf';
colortext[] = {0,0,0,1};
style = 1;
};
class close : Life_RscButton
{
x = 0.296476333333333 * safezoneW + safezoneX;
y = 0.875180593903638 * safezoneH + safezoneY;
w = 0.095589 * safezoneW;
h = 0.039216 * safezoneH;
idc = 66421;
onmousebuttondown = "closeDialog 0";
text = "Abbrechen";
colortext[] = {0,0,0,1};
style = 1;
};
class bestatigen : Life_RscButton
{
x = 0.639184666666667 * safezoneW + safezoneX;
y = 0.875180593903638 * safezoneH + safezoneY;
w = 0.095589 * safezoneW;
h = 0.039216 * safezoneH;
idc = 71241;
onmousebuttondown = "closeDialog 0";
text = "Bestätigen";
colortext[] = {0,0,0,1};
colordisabled[] = {0,0,0,1};
style = 1;
};
class alter_rang : Life_RscStructuredText
{
x = 0.503125 * safezoneW + safezoneX;
y = 0.256637168141593 * safezoneH + safezoneY;
h = 0.0953785644051131 * safezoneH;
w = 0.307291666666667 * safezoneW;
idc = 976421
text = "";
colortext[] = {0,0,0,1};
};
class derank : Life_RscButton
{
x = 0.503125 * safezoneW + safezoneX;
y = 0.610677152409046 * safezoneH + safezoneY;
w = 0.127083333333333 * safezoneW;
h = 0.039216 * safezoneH;
idc = 1006;
text = "Derank";
onbuttondown = [] execVM "dialog\function\fn_derank.sqf";
colortext[] = {0,0,0,1};
style = 1;
};
};
};
/////////////////////////////////////////////////////////////////
////////////////////////// FILE END /////////////////////////////
/////////////////////////////////////////////////////////////////
Alles anzeigen
Diese Buttons sind nur leider leer. Kennt sich jemand mit diesem Fehler aus ?
MfG,
Fabian