j ai toujours la meme erreurIl faut que tu rajoute le common.hpp dans la dossier ou il y'a tes dialogs
Framework/Altis_Life.Altis/dialog/common.hpp at v5.X.X · AsYetUntitled/Framework
Altis Life RPG mission framework for Arma 3 originally made by @TAWTonic. - AsYetUntitled/Frameworkgithub.com
animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
animTextureOver = "#(argb,8,8,3)color(1,1,1,0)";
animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
colorBackground[] = {0, 0, 0, 0};
colorBackground2[] = {1, 1, 1, 0};
color[] = {1, 1, 1, 0};
color2[] = {1, 1, 1, 0};
colorText[] = {1, 1, 1, 0};
colorDisabled[] = {1, 1, 1, 0};
il faut que je mette tout ou juste une de ces lignes ?Pour rendre un bouton invisible tu peux ajouter ça dans sa class :
Code:animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)"; animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)"; animTextureOver = "#(argb,8,8,3)color(1,1,1,0)"; animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)"; animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)"; animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)"; colorBackground[] = {0, 0, 0, 0}; colorBackground2[] = {1, 1, 1, 0}; color[] = {1, 1, 1, 0}; color2[] = {1, 1, 1, 0}; colorText[] = {1, 1, 1, 0}; colorDisabled[] = {1, 1, 1, 0};
class GiveKey : Life_RscButtonMenu {
idc = 1584;
text = "";
animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
animTextureOver = "#(argb,8,8,3)color(1,1,1,0)";
animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
colorBackground[] = {0, 0, 0, 0};
colorBackground2[] = {1, 1, 1, 0};
color[] = {1, 1, 1, 0};
color2[] = {1, 1, 1, 0};
colorText[] = {1, 1, 1, 0};
colorDisabled[] = {1, 1, 1, 0};
onbuttonclick = "[] call max_keytransfer_fnc_keyTransferAction;";
x = 0.572187 * safezoneW + safezoneX;
y = 0.863 * safezoneH + safezoneY;
w = 0.118594 * safezoneW;
h = 0.077 * safezoneH;
};