Skip to content

Commit

Permalink
E-Pad Buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignatz-HeMan committed Jan 15, 2019
1 parent ef5a554 commit c9258d4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
Expand Up @@ -27,14 +27,10 @@
</head>
<body style="color: #FFFF00)">
<p>
<span class="auto-style2"><b>Our Servers:</b></span><br>
<span class="auto-style2"><b>Server Contacts:</b></span><br>
Homepage: <a href="http://epochmod.com" target="_blank">EpochMod.com</a><br>
Discord: <a href="https://discord.gg/0k4ynDDCsnMzkxk7" target="_blank">EpochMod Discord</a><br>
FaceBook: <a href="https://www.facebook.com/EpochMod/" target="_blank">https://www.facebook.com/EpochMod/</a><br>
</p>
<p>
<span class="auto-style2"><b>News</b></span><br>
- Added E-Pad<br>
</p>
</body>
</html>
23 changes: 18 additions & 5 deletions Sources/epoch_config/Configs/CfgEPad.hpp
Expand Up @@ -148,11 +148,24 @@ class e_pad_config
Tooltip = "Info-Menu";
ToggleVar = "";
ToggleAble = "false";
class contact
{
ButtonText = "";
Description = "Contact";
icon = "x\addons\a3_epoch_code\Data\UI\epad\Contact1.paa";
color[] = {1,1,1,1};
colortoggled[] = {0,1,0,1};
html = "epoch_code\customs\E_Pad\ServerContacts.html";
action = "";
Tooltip = "COntact us";
ToggleVar = "";
ToggleAble = "false";
};
class serverinfo
{
ButtonText = "";
Description = "Server Info";
icon = "x\addons\a3_epoch_code\Data\UI\epad\server_info_icon_ca.paa";
icon = "x\addons\a3_epoch_code\Data\UI\epad\info.paa";
color[] = {1,1,1,1};
colortoggled[] = {0,1,0,1};
html = "epoch_code\customs\E_Pad\ServerInfos.html";
Expand All @@ -164,7 +177,7 @@ class e_pad_config
class serversettings
{
ButtonText = "";
Description = "Server Rules";
Description = "Server Settings";
icon = "x\addons\a3_epoch_code\Data\UI\epad\server_info_icon_ca.paa";
color[] = {1,1,1,1};
colortoggled[] = {0,1,0,1};
Expand All @@ -178,7 +191,7 @@ class e_pad_config
{
ButtonText = "";
Description = "Server Rules";
icon = "x\addons\a3_epoch_code\Data\UI\epad\server_info_icon_ca.paa";
icon = "x\addons\a3_epoch_code\Data\UI\epad\Rules.paa";
color[] = {1,1,1,1};
colortoggled[] = {0,1,0,1};
html = "epoch_code\customs\E_Pad\ServerRules.html";
Expand Down Expand Up @@ -250,9 +263,9 @@ class e_pad_config
};
class suicide
{
ButtonText = "KILL";
ButtonText = "";
Description = "Kill yourself";
Icon = "";
icon = "x\addons\a3_epoch_code\Data\UI\epad\suicide.paa";
color[] = {1,1,1,1};
colortoggled[] = {0,1,0,1};
action = "[] spawn {_confirm = ['Are you sure to kill yourself?','Suicide!',true,true] call BIS_fnc_guiMessage;if (_confirm) then {while {dialog} do {closedialog 0};disableUserInput true;Player playAction 'GestureSuicide';uisleep 3;Player setdamage 1;disableUserInput false;};};";
Expand Down

0 comments on commit c9258d4

Please sign in to comment.