E-Pad Buttons

This commit is contained in:
He-Man 2019-01-15 17:19:03 +01:00
parent ef5a554830
commit c9258d4e0e
2 changed files with 19 additions and 10 deletions

View File

@ -27,14 +27,10 @@ a:visited {
</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>

View File

@ -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";
@ -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};
@ -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";
@ -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;};};";