<div><font color="Red"><font size="4">Warning: This is a Alpha version still in construction and only have the basic for a commander plugin.</font></font><font size="4"><br /></font><br /><br /><b><u>Description:</u></b><br /><br />This plugin was throght to prevent door hugging and incentivate more players defending in zombie escape. Probably the best form is creating a commander adapted to the zombiemod that can tell when defend and where to the players, with special chat messages, markers, sounds and more. The commander can be selected in the round start and cant be a mother zombie.<br /><br /><br /><b><u>Requeriments:</u></b><br /><br /><a href="https://forums.allie...play.php?f=132"target="_blank">Zombiereloaded</a><br /><br /><br /><b><u>Natives and forwards:</u></b><br /><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">#if defined _zrcommander_included<br /> #endinput<br />#endif<br />#define _zrcommander_included<br /><br />/**<br /> * Checks if any commander exist<br /> *<br /> * @true on match , false if not<br /> */<br /></span><span style="color: #0000BB">native bool zrc_exist</span><span style="color: #007700">();<br /><br /></span><span style="color: #FF8000">/**<br /> * returns if client is commander<br /> *<br /> * @param client The client to run the check on<br /> * @true on match, false if not <br /> *********************************************************/<br /></span><span style="color: #0000BB">native bool zrc_is</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/**<br /> * Set a client as commander<br /> *<br /> * @param client The client to set as commander<br /> * @NoReturn<br /> */<br /></span><span style="color: #0000BB">native int zrc_set</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/**<br /> * Removes the current commander if he exists<br /> *<br /> * @param client The commander client to remove<br /> * @NoReturn <br /> */<br /></span><span style="color: #0000BB">native int zrc_remove</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">/**<br /> * Called when a commander has been created.<br /> *<br /> * @param client Client that has been commander. <br /> */<br /></span><span style="color: #0000BB">forward void zrc_OnCommanderCreated</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">); <br /><br /></span><span style="color: #FF8000">/**<br /> * Called when a player is about to be commander.<br /> *<br /> * @param client Client index. <br /> * @return Plugin_Changed to apply new values, Plugin_Continue to allow as is and >= Plugin_Handled to block <br /> */<br /></span><span style="color: #0000BB">forward Action zrc_OnCommanderCreate</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">); <br /><br /></span><span style="color: #FF8000">/**<br /> * Called when a commander left the commander position.<br /> *<br /> * @param client Client index. <br /> */<br /></span><span style="color: #0000BB">forward void zrc_OnCommanderLeft</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">);
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><br /><b><u>Todo list:</u></b><br /><br />-Modular plugin<br />-Commander cant be a mother zombie<br />-Nominate a commander in the round start<br />-Create a top with the best commanders<br />-Can create markers and gets an icon above his head<br />-Markers will be:<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">Defend<br />Attack<br />Fallback</code><hr />
</div>-Players which follow his orders get awarded by points<br />-The commanders get points based on how much players survived<br />-Add a feature to the plugin for make that all the humans <a href="https://forums.allie...d.php?t=253758"target="_blank">look at a point</a> that the commander determine for a better communication of where they should defend.<br /><br /><br /><b><u>Credits:</u></b><br /><br />Original idea by zipcore<br /><br /><br /><b><u>Download:</u></b><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"><b>The main project -> <a href="http://git.tf/Franc1sco/ZR-Commander"target="_blank">http://git.tf/Franc1...ommander</a><br />Code changes -> <a href="http://git.tf/Franc1sco/ZR-Commander/commits/master" target="_blank">http://git.tf/Franc1...s/master</a><br />Direct download link -> <a href="http://git.tf/Franc1sco/ZR-Commander/repository/archive.zip?ref=master" target="_blank">http://git.tf/Franc1...></b></code><hr />
</div><br />Suggestions are extremely appreciated :up:</div>
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

[ZR] Commander for zombie escape (Alpha version still under construction)
Temat rozp. Adminek AMXX.PL, 04.12.2015 22:49
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych