Jump to content
Sign in to follow this  
Francis Fanzer

[RELEASE 4.4r4 Version] Custom Phone

Recommended Posts

Hey im releasing my phone that i made when i was working on my lakeside files wich im still working on but thought why not release a peace of it here you go

feel free to edit it

Picture: b7ETX93.jpg
My GamerTag Devza and if you need any help add my discord devza#0113

Reminder: im not the best to design guis so please critic so i can make a new version thats better

How To Download it should be pretty easy
Go inside youre Dialog and open player_inv.hpp and repla it whit this: 
 

#include "player_sys.sqf"

class playerSettings {

         idd = playersys_DIALOG;
         movingEnable = true;
         enableSimulation = true;
         class controlsBackground {

         class HG: life_RscPicture
         {
         idc = -1;
         text = "images\iphone8.paa";
          x = 0.0130208 * safezoneW + safezoneX;
          y = 0.203 * safezoneH + safezoneY;
          w = 0.332292 * safezoneW;
          h = 0.583 * safezoneH;
         };

         class HG2: life_RscPicture
         {
         idc = -1;
         text = "images\backpack.paa";
         x = 0.270833 * safezoneW + safezoneX;
         y = 0.4758 * safezoneH + safezoneY;
         w = 0.171875 * safezoneW;
         h = 0.297 * safezoneH;
         };

         class moneyTitle: life_RscText
         {
         idc = -1;
         text = "";
         x = 0.757813 * safezoneW + safezoneX;
         y = 0.6914 * safezoneH + safezoneY;
         w = 0.0572917 * safezoneW;
         h = 0.022 * safezoneH;
         };

         class moneyStatusInfo: life_RscStructuredText
         {
         idc = 2015;
         sizeEx = 0.020;
         text = "";
         x = 0.116146 * safezoneW + safezoneX;
         y = 0.61 * safezoneH + safezoneY;
         w = 0.126042 * safezoneW;
         h = 0.077 * safezoneH;
         };
         
         class PlayersWeight : life_RscTitle {
         idc = carry_weight;
         style = 1;
         x = 0.322396 * safezoneW + safezoneX;
         y = 0.434 * safezoneH + safezoneY;
         w = 0.0859375 * safezoneW;
         h = 0.033 * safezoneH;
         text = "";
         };
         
         class itemHeader: life_RscText
         {
         idc = -1;
         text = "";
         x = 0.787604 * safezoneW + safezoneX;
         y = 0.1986 * safezoneH + safezoneY;
         w = 0.0744792 * safezoneW;
         h = 0.022 * safezoneH;
            };
         };
         
         class controls {
         class moneyEdit: life_RscEdit
         {
         idc = 2018;
         text = "1";
         sizeEx = 0.030;
         x = 0.163126 * safezoneW + safezoneX;
         y = 0.7156 * safezoneH + safezoneY;
         w = 0.0802083 * safezoneW;
         h = 0.022 * safezoneH;
         };
         
         class NearPlayers: life_RscCombo
         {
         idc = 2022;
         x = 0.116146 * safezoneW + safezoneX;
         y = 0.6892 * safezoneH + safezoneY;
         w = 0.126042 * safezoneW;
         h = 0.022 * safezoneH;
         };
         
         class moneyDrop: life_RscButtonMenu
         {
         idc = 2001;
         text = "Give";
         x = 0.116146 * safezoneW + safezoneX;
         y = 0.7156 * safezoneH + safezoneY;
         w = 0.0401042 * safezoneW;
         h = 0.022 * safezoneH;
         tooltip = "Give money";
         onButtonClick = "[] call life_fnc_giveMoney";
         };
         
         class licenseHeader: life_RscStructuredText
         {
         idc = -1;
         text = "Licenses";
         x = 0.116146 * safezoneW + safezoneX;
         y = 0.379 * safezoneH + safezoneY;
         w = 0.06875 * safezoneW;
         h = 0.022 * safezoneH;
         };
         
         class Licenses_Menu: life_RscControlsGroup
         {
         idc = -1;
         x = 0.116146 * safezoneW + safezoneX;
         y = 0.412 * safezoneH + safezoneY;
         w = 0.126042 * safezoneW;
         h = 0.11 * safezoneH;
         class controls
         {
         class life_Licenses: life_RscStructuredText
         {
         idc = 2014;
         sizeEx = 0.020;
         text = "";
         x = 0.116146 * safezoneW + safezoneX;
         y = 0.412 * safezoneH + safezoneY;
         w = 0.126042 * safezoneW;
         h = 0.11 * safezoneH;
                };
            };
         };
         class itemList: life_RscListbox
         {
         idc = item_list;
         x = 0.304062 * safezoneW + safezoneX;
         y = 0.5836 * safezoneH + safezoneY;
         w = 0.103125 * safezoneW;
         h = 0.088 * safezoneH;
         sizeEx = 0.040;
         };
         
         class itemEdit: life_RscEdit
         {
         idc = item_edit;
         text = "1";
         x = 0.305208 * safezoneW + safezoneX;
         y = 0.676 * safezoneH + safezoneY;
         w = 0.0401042 * safezoneW;
         h = 0.022 * safezoneH;
         };
         
         class iNearPlayers: life_RscCombo
         {
         idc = 2023;
         x = 0.347605 * safezoneW + safezoneX;
         y = 0.676 * safezoneH + safezoneY;
         w = 0.0630208 * safezoneW;
         h = 0.022 * safezoneH;
         };
         
         class RemoveButton: life_RscButtonMenu
         {
         text = "R";
         x = 0.391146 * safezoneW + safezoneX;
         y = 0.7002 * safezoneH + safezoneY;
         w = 0.0171875 * safezoneW;
         h = 0.033 * safezoneH;
         tooltip = "Remove"; 
         onButtonClick = "[] call life_fnc_removeItem;";
         };
         
         class UseButton: life_RscButtonMenu
         {
         text = "U";
         x = 0.368229 * safezoneW + safezoneX;
         y = 0.7002 * safezoneH + safezoneY;
         w = 0.0171875 * safezoneW;
         h = 0.033 * safezoneH;
         onButtonClick = "[] call life_fnc_useItem;";
         tooltip = "Use";
         };
         
         class DropButton: life_RscButtonMenu
         {
         idc = 2002;
         text = "G";
         x = 0.345313 * safezoneW + safezoneX;
         y = 0.7002 * safezoneH + safezoneY;
         w = 0.0171875 * safezoneW;
         h = 0.033 * safezoneH;
         onButtonClick = "[] call life_fnc_giveItem;";
         tooltip = "Give";
         };

         class ButtonAdminMenu_ICON: life_RscPicture
         {
         idc = 20210;
         text = "images\tablet\admin.paa";
         x = 0.110417 * safezoneW + safezoneX;
         y = 0.258 * safezoneH + safezoneY;
         w = 0.0286458 * safezoneW;
            h = 0.044 * safezoneH;
         };
         
         class ButtonAdminMenu: life_RscButtonMenu
         {
         idc = 2021;
         x = 0.110417 * safezoneW + safezoneX;
         y = 0.258 * safezoneH + safezoneY;
         w = 0.0286458 * safezoneW;
            h = 0.044 * safezoneH;
         onButtonClick = "createDialog ""life_admin_menu""; ";
         tooltip = $STR_PM_AdminMenu;
         colorBackground[] = {-1,-1,-1,-1};
         colorBackgroundFocused[] = {1,1,1,0.12};
         colorBackground2[] = {0.75,0.75,0.75,0.2};
         color[] = {1,1,1,1};
         colorFocused[] = {0,0,0,1};
         color2[] = {0,0,0,1};
         colorText[] = {1,1,1,1};
         colorDisabled[] = {0,0,0,0.4};
         };
         
         class ButtonSettings_ICON: life_RscPicture
         {
         idc = -1;
         text = "images\tablet\config.paa";
         x = 0.183751 * safezoneW + safezoneX;
         y = 0.258 * safezoneH + safezoneY;
         w = 0.0286458 * safezoneW;
         h = 0.044 * safezoneH;
         };
         
         class ButtonSettings: life_RscButtonMenu
         {
         idc = -1;
         x = 0.183751 * safezoneW + safezoneX;
         y = 0.258 * safezoneH + safezoneY;
         w = 0.0286458 * safezoneW;
         h = 0.044 * safezoneH;
         onButtonClick = "[] call life_fnc_settingsMenu;";
         tooltip = "Settings";
         colorBackground[] = {-1,-1,-1,-1};
         colorBackgroundFocused[] = {1,1,1,0.12};
         colorBackground2[] = {0.75,0.75,0.75,0.2};
         color[] = {1,1,1,1};
         colorFocused[] = {0,0,0,0};
         color2[] = {0,0,0,0};
         colorText[] = {1,1,1,1};
         colorDisabled[] = {1,0,0,0.1};
         };

         class ButtonKeys_ICON: life_RscPicture
         {
         idc = 20111;
         text = "images\tablet\key.paa";
         x = 0.147084 * safezoneW + safezoneX;
         y = 0.258 * safezoneH + safezoneY;
         w = 0.0286458 * safezoneW;
         h = 0.044 * safezoneH;
         };
         
         class ButtonKeys: life_RscButtonMenu
         {
         idc = 2000;
         x = 0.147084 * safezoneW + safezoneX;
         y = 0.258 * safezoneH + safezoneY;
         w = 0.0286458 * safezoneW;
         h = 0.044 * safezoneH;
         onButtonClick = "createDialog ""life_key_management"";";
         tooltip = "Keys";
         colorBackground[] = {-1,-1,-1,-1};
         colorBackgroundFocused[] = {1,1,1,0.12};
         colorBackground2[] = {0.75,0.75,0.75,0.2};
         color[] = {1,1,1,1};
         colorFocused[] = {0,0,0,0};
         color2[] = {0,0,0,0};
         colorText[] = {1,1,1,1};
         colorDisabled[] = {1,0,0,0.1};
         };
         
         class ButtonCell_ICON: life_RscPicture
         {
         idc = 1204;
         text = "images\tablet\phone.paa";
         x = 0.110417 * safezoneW + safezoneX;
         y = 0.313 * safezoneH + safezoneY;
         w = 0.0286458 * safezoneW;
         h = 0.044 * safezoneH;
         };
         
         class ButtonCell: life_RscButtonMenu
         {
         idc = 2001;
         x = 0.110417 * safezoneW + safezoneX;
         y = 0.313 * safezoneH + safezoneY;
         w = 0.0286458 * safezoneW;
         h = 0.044 * safezoneH;
         onButtonClick = "createDialog ""Life_cell_phone"";";
         tooltip = $STR_PM_CellPhone;
         colorBackground[] = {-1,-1,-1,-1};
         colorBackgroundFocused[] = {1,1,1,0.12};
         colorBackground2[] = {0.75,0.75,0.75,0.2};
         color[] = {1,1,1,1};
         colorFocused[] = {0,0,0,0};
         color2[] = {0,0,0,0};
         colorText[] = {1,1,1,1};
         colorDisabled[] = {1,0,0,0.1};
         };
         
         class ButtonSyncData_ICON: life_RscPicture
         {
         idc = 1205;
         text = "images\tablet\sync.paa";
         x = 0.182604 * safezoneW + safezoneX;
         y = 0.313 * safezoneH + safezoneY;
         w = 0.0286458 * safezoneW;
         h = 0.044 * safezoneH;
         };
         
         class ButtonSyncData: life_RscButtonMenu
         {
         idc = 2002;
         x = 0.182604 * safezoneW + safezoneX;
         y = 0.313 * safezoneH + safezoneY;
         w = 0.0286458 * safezoneW;
         h = 0.044 * safezoneH;
         onButtonClick = "[] call SOCK_fnc_syncData;";
         tooltip = $STR_PM_SyncData;
         colorBackground[] = {-1,-1,-1,-1};
         colorBackgroundFocused[] = {1,1,1,0.12};
         colorBackground2[] = {0.75,0.75,0.75,0.2};
         color[] = {1,1,1,1};
         colorFocused[] = {0,0,0,0};
         color2[] = {0,0,0,0};
         colorText[] = {1,1,1,1};
         colorDisabled[] = {1,0,0,0.1};
         };
         
         class ButtonGang_ICON: life_RscPicture
         {
         idc = 1207;
         text = "images\tablet\gang.paa";
         x = 0.219272 * safezoneW + safezoneX;
         y = 0.258 * safezoneH + safezoneY;
         w = 0.0286458 * safezoneW;
         h = 0.044 * safezoneH;
         };
         
         class ButtonGang: life_RscButtonMenu
         {
         idc = 1209;
         x = 0.219272 * safezoneW + safezoneX;
         y = 0.258 * safezoneH + safezoneY;
         w = 0.0286458 * safezoneW;
         h = 0.044 * safezoneH;
         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;};};";
         tooltip = "Gang";
         colorBackground[] = {-1,-1,-1,-1};
         colorBackgroundFocused[] = {1,1,1,0.12};
         colorBackground2[] = {0.75,0.75,0.75,0.2};
         color[] = {1,1,1,1};
         colorFocused[] = {0,0,0,0};
         color2[] = {0,0,0,0};
         colorText[] = {1,1,1,1};
         colorDisabled[] = {1,0,0,0.1};
         };
         
         class ButtonWanted_ICON: life_RscPicture
         {
         idc = 1210;
         text = "images\tablet\wanted.paa";
         x = 0.147084 * safezoneW + safezoneX;
         y = 0.313 * safezoneH + safezoneY;
         w = 0.0286458 * safezoneW;
         h = 0.044 * safezoneH;
         };
         
         class ButtonWanted: life_RscButtonMenu
         {
         idc = 2008;
         x = 0.147084 * safezoneW + safezoneX;
         y = 0.313 * safezoneH + safezoneY;
         w = 0.0286458 * safezoneW;
         h = 0.044 * safezoneH;
         onButtonClick = "[] call life_fnc_wantedMenu";
         colorBackground[] = {-1,-1,-1,-1};
         colorBackgroundFocused[] = {1,1,1,0.12};
         colorBackground2[] = {0.75,0.75,0.75,0.2};
         color[] = {1,1,1,1};
         colorFocused[] = {0,0,0,0};
         color2[] = {0,0,0,0};
         colorText[] = {1,1,1,1};
         colorDisabled[] = {1,0,0,0.1};
         tooltip = $STR_PM_WantedList;
        }; 
    };
};


Almost done now download these the icon file and put the paa files inside images not the icon folder just the paa files: 

next up create a folder called tablet inside images and put these icon paa files from the phoneicon.rar folder in there now again oly the paa files in there not the phoneicon folder and youre done: 

icon.rar

phoneicon.rar

Edited by Francis Fanzer
  • Like 4

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×