Bonjour, ce tutoriel est fait pour l'Iphone X vendu par The-Programmer ainsi que la bourse DynMarket
Il vous suffit de remplacer le dialog de votre bourse (ici pour moi le dynmarket donc dialog/dynmarket_prices.hpp
Code:
/*
Author: Zaros
Based on the work of Shinji
Discord: https://discord.gg/FuD3Hbj
Web site: http://ekphrasis-roleplay.fr
Terms of use:
- Please do not delete the credits and respect the author.
*/
class life_dynmarket_prices {
idd = 7100;
name = "life_dynmarket_prices";
movingenable = false;
enablesimulation = true;
onload = "[] spawn {sleep 1;[] call life_fnc_LoadIntoListbox;};";
class controlsBackground {
};
class controls {
class Fond_Iphone_Bourse: Life_RscPicture {
idc = -1;
text = "The-Programmer\Iphone_X\textures\bourse.paa";
x = 0.637941 * safezoneW + safezoneX;
y = 0.289728 * safezoneH + safezoneY;
w = 0.21 * safezoneW;
h = 0.7 * safezoneH;
};
class BoutonQuit: Life_RscButtonMenu {
onbuttonclick = "closeDialog 0; [] spawn the_programmer_iphone_fnc_phone_init;";
tooltip = "Quitter";
idc = -1;
x = 0.732094 * safezoneW + safezoneX;
y = 0.919384 * safezoneH + safezoneY;
w = 0.020625 * safezoneW;
h = 0.022 * safezoneH;
colorbackground[] = {0,0,0,0};
colorbackgroundfocused[] = {0,0,0,0};
colorbackground2[] = {0,0,0,0};
color[] = {1,1,1,0};
colorfocused[] = {0,0,0,0};
color2[] = {0,0,0,0};
colortext[] = {1,1,1,1};
};
class Btn_Reboot: Life_RscButtonMenu {
onbuttonclick = "closeDialog 0; [] spawn the_programmer_iphone_fnc_phone_init;";
tooltip = "Reboot";
idc = -1;
x = 0.807 * safezoneW + safezoneX;
y = 0.312 * safezoneH + safezoneY;
w = 0.01 * safezoneW;
h = 0.02 * safezoneH;
colorbackground[] = {0,0,0,0};
colorbackgroundfocused[] = {0,0,0,0};
colorbackground2[] = {0,0,0,0};
color[] = {1,1,1,0};
colorfocused[] = {0,0,0,0};
color2[] = {0,0,0,0};
colortext[] = {1,1,1,1};
};
class display_item: Life_RscListbox {
onlbselchanged = "[] spawn {[] call life_fnc_DisplayPrices;};";
sizeex = 0.04;
idc = 7055;
x = 0.661504 * safezoneW + safezoneX;
y = 0.457367 * safezoneH + safezoneY;
w = 0.160521 * safezoneW;
h = 0.328148 * safezoneH;
};
class display_price: Life_RscText {
idc = 7056;
x = 0.726928 * safezoneW + safezoneX;
y = 0.823852 * safezoneH + safezoneY;
w = 0.0438545 * safezoneW;
h = 0.0262965 * safezoneH;
sizeex = 0.04;
};
class Sold_Display: Life_RscText {
idc = 7057;
x = 0.734635 * safezoneW + safezoneX;
y = 0.875852 * safezoneH + safezoneY;
w = 0.0225003 * safezoneW;
h = 0.0300001 * safezoneH;
sizeex = 0.04;
};
};
};
Et de mettre mon .paa dans The-Programmer\Iphone_X\textures
Fichiers joints
Dernière édition par un modérateur: