GLOBALELITE.PL GLOBALELITE.pl 83 Napisano 6 Czerwca 2017 Share Napisano 6 Czerwca 2017 <div><div align="center"><font size="5"><b>[CS:GO] DeadMenuItemCMD</b></font><br /><br />Hello!<br /><br />I want to share my first of many plugins.<br /><br /><b><font size="3">Description:</font></b><br /><br />The plugin sends a menu to the user when they die, each item of the menu correspond to a command.<br />Menu item and command is customisable with a config file.<br /><br />Command: sm_deadmenu - To enable/disable the menu (Using cookies).<br /><br />An example:<br /><br /><a class="proxied-img-link" href="https://image.noelshack.com/fichiers/2017/23/1496706951-deadmenu.png"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/75e00b0bc8ecfa50cf8f43f6e923b70a192311cf/68747470733a2f2f696d6167652e6e6f656c736861636b2e636f6d2f66696368696572732f323031372f32332f313439363730363935312d646561646d656e752e706e67" border="0" alt="" /></a><br /><br /><br /><br /><font size="3"><u>Config file: deadmenu.cfg</u></font><br /><div style="margin: 5px;"> <div class="smallfont" style="margin-bottom: 2px;"> <b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button"> </div> <div class="alt2" style="border: 1px inset; padding: 6px;"> <div class="spoiler" style="display: none;"><br /><div style="margin:20px; margin-top:5px"> <div class="smallfont" style="margin-bottom:2px">Code:</div> <hr /><code style="margin:0px" dir="ltr" style="text-align:left">"Deadmenu"<br />{<br /> "1"<br /> {<br /> "item" "Respawn in redie"<br /> "command" "sm_redie" <br /> }<br /> "2"<br /> {<br /> "item" "Join spectator"<br /> "command" "sm_afk" <br /> } <br /> "3"<br /> {<br /> "item" "Show my rank"<br /> "command" "sm_rank" <br /> } <br />}</code><hr /> </div></div> </div> </div><br /><font size="3"><u>Convar</u></font><br /><div style="margin: 5px;"> <div class="smallfont" style="margin-bottom: 2px;"> <b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button"> </div> <div class="alt2" style="border: 1px inset; padding: 6px;"> <div class="spoiler" style="display: none;"><br /><div style="margin:20px; margin-top:5px"> <div class="smallfont" style="margin-bottom:2px">Code:</div> <hr /><code style="margin:0px" dir="ltr" style="text-align:left">Delay to send menu<br />sm_menu_delay "0.5"<br /><br />Menu display time<br />sm_menu_display_time "10"<br /><br />Enable button 'Dont show menu again'<br />sm_menu_dontshow_button "1"<br /><br />Round ending menu<br />sm_menu_roundend_menu "1"</code><hr /> </div></div> </div> </div></div></div> <br /> <div style="padding:6px"> <fieldset class="fieldset"> <legend>Attached Files</legend> <table cellpadding="0" cellspacing="3" border="0"> <tr> <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/smx.gif"alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td> <a href="https://forums.alliedmods.net/attachment.php?attachmentid=163242&d=1496708435">CSGO_DeadMenuItemCMD.smx</a>(8.2 KB) </td> </tr><tr> <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td> <a href="http://www.sourcemod.net/vbcompiler.php?file_id=163243"><strong>GetPlugin</strong></a> or <a href="https://forums.alliedmods.net/attachment.php?attachmentid=163243&d=1496708435">GetSource</a> (CSGO_DeadMenuItemCMD.sp - 6.1 KB) </td> </tr><tr> <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td> <a href="https://forums.alliedmods.net/attachment.php?attachmentid=163244&d=1496708435">CSGO_DeadMenuItemCMD.zip</a>(9.4 KB) </td> </tr> </table> </fieldset> </div> Pełny artykuł: https://forums.alliedmods.net/showthread.php?t=298241&goto=newpost Odnośnik do odpowiedzi Udostępnij na innych stronach
Rekomendowane odpowiedzi