<!-- BEGIN TEMPLATE: postbit_external -->
<div><div align="center"><font size="6"><font face="Verdana"><b><font color="Orange">Party Menu</font></b></font></font><br /><font size="3"><font face="Verdana">Version: 1.0</font></font><br /><img src="http://www.wgamers.n...sc/sigline.png"border="0" alt="" /></div><br /><b><font size="4">.: Introduction</font></b><br /><font size="2">---------------------------</font><br /><br /><font face="Comic Sans MS">This plugin allow the players, to make groups (Partys) when they can win x2 or share his earnings.<br /><br />The plugin have only the system and the algorithm of the party. In the final of the post you have an example to use it.</font><br /><br /><b><font size="4">.: CVARS/Command List</font></b><br /><font size="2">-------------------------------------------</font><br /><ul><li><font face="Comic Sans MS"><b>/party</b> - Is the command to open the menu of the party</font></li>
<li><font face="Comic Sans MS"><b>sm_party_time_accept <time></b> - This CVAR gives the time to a player for accept a invitation</font></li>
</ul><br /><b><font size="4">.: Includes</font></b><br /><font size="2">---------------------</font><br /><br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #FF8000">#include <sourcemod>
<br />#include <sdktools>
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><b><font size="4">.: ChangeLog</font></b><br /><font size="2">-------------------------</font><br /><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<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">5/1/2015<br />v1.0 - First Release</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><b><font size="4">.: Credits</font></b><br /><font size="2">---------------------</font><br /><ul><li><font face="Comic Sans MS"><b>[R]ak</b> - All credits to Rak, the creator of the algoritm and method.</font></li>
</ul><br /><b><font size="4">.: How to use</font></b><br /><font size="2">-----------------------</font><br /><br /><font face="Comic Sans MS">To work with this plugin, you only knows this:</font><br /><br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">bool</span><span style="color: #007700">:</span><span style="color: #0000BB">In_Party</span><span style="color: #007700">[</span><span style="color: #0000BB">client</span><span style="color: #007700">] </span><span style="color: #FF8000">// Said to you if the user are in a party. True if stay in a party, false otherwise.
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">Party_Ids</span><span style="color: #007700">[</span><span style="color: #0000BB">client</span><span style="color: #007700">][</span><span style="color: #0000BB">MAX_PARTY</span><span style="color: #007700">] </span><span style="color: #FF8000">// In MAX_PARTY you have the index about the member of the party. Example:
<br /></span><span style="color: #0000BB">Party_Ids</span><span style="color: #007700">[</span><span style="color: #0000BB">client</span><span style="color: #007700">][</span><span style="color: #0000BB">Member2</span><span style="color: #007700">]
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><font face="Comic Sans MS">Then, use your imagination :crab:</font><br /><br /><b><font size="4">.: Errors/Bugs</font></b><br /><font size="2">-----------------------</font><br /><br /><font face="Comic Sans MS">Please, tell me all bugs/errors that you find in the server/code.</font></div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.sourcemod...29"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1420512361">GetSource</a> (PartyMenu.sp - 12.1 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>
</div>
<!-- END TEMPLATE: postbit_external -->
Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
[ANY?] Party Menu
Temat rozp. Adminek AMXX.PL, 06.01.2015 03:41
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych