Skocz do zawartości

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.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

Chicken Mod [BETA]


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 492
  • Lokalizacja:AMXX.PL
Offline

Napisano 13.01.2017 02:51

<div><div align="center"><b><font size="5"><font color="Red">Chicken Mod</font></font></b><br /><b><font size="4"><font color="Red">Version 0.1 (BETA)</font></font></b><br /><b><font size="4"><font color="Red">by Pokemonmaster &amp; Yousef</font></font></b></div><br /><b><font size="4">Introduction:</font></b><br />This is a Counter-Strike 1.6 mod where all players join as cts and then they have to find a weapon that is placed randomly or specific origin by a file in the map, if didn't in time or if someone finds the weapon, friendly fire will be enabled. There are levels and points system and xp system to make this more entertaining.<br /><br /><b><font size="4">Admin Commands:</font></b><ul><li>amx_add_xp &lt;name | @all&gt; &lt;XP&gt;<br />- add xp to a player</li>
<li>amx_give_points &lt;name | @all&gt; &lt;points&gt;<br />- add points to a player</li>
<li>amx_set_points &lt;name | @all&gt; &lt;points&gt;<br />- set points to a player</li>
<li>amx_take_points &lt;name | @all&gt; &lt;points&gt;<br />- take points from a player</li>
<li>amx_spawn_edit_mode &lt;0 | 1&gt;<br />- 0 = Spawn edit off | 1 = Spawn edit on</li>
</ul><br /><b><font size="4">Client Commands:</font></b><ul><li>(say) <b>/shop</b> or <b>shop</b><br />- Opens the shop's menu</li>
<li>(say) <b>/points</b> or <b>points</b><br />- View player's points</li>
<li>(say) <b>/level</b> or <b>level</b> or <b>/xp</b> or <b>xp</b><br />- View player's xp and level</li>
<li><b>chooseteam</b> ('m' button)<br />- Opens Chicken Mod Menu</li>
<li><b>+spgrab</b><br />- Admins command to grab spawn entities</li>
</ul><br /><b><font size="4">Chicken Mod Menu:</font></b><ul><li>Players Points<br />- View connected player's points</li>
<li>Shop Menu<br />- Opens the shop's menu</li>
<li>Toggle Mod Sounds<br />- Toggle the sounds for the player (ON|OFF)</li>
<li>Admin Menu<ul><li>Points Menu</li>
<li>Give Weapon to Player</li>
<li>Give Shop Item to Player</li>
<li>Weapon Spawn Points Menu</li>
</ul></li>
</ul><br /><b><font size="4">Shop Menu:</font></b><ul><li>Guiding Laser</li>
<li>Joker Model</li>
<li>Chicken Model</li>
<li>More Speed</li>
<li>Chicken Nuggets (Health)</li>
<li>Chicken Bazooka</li>
</ul><br /><b><font size="4">Things You may change:</font></b><br />(line 29)<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;"><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">/* ========================================================= */<br />/* ===================&nbsp; EDIT STARTS HERE&nbsp; ================== */<br />/* ========================================================= */<br /><br />// ---- Player Models ----<br />new const g_szJokerModel[] =&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;e_joker&quot;;<br />new const g_szChickenModel[] =&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;chicken&quot;;<br /><br />// ---- Prefix for chat messages and bot name ----<br />new const g_szPrefix[] =&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;^4[CHICKEN MOD]&quot;;<br />new const g_szBotName[] =&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;CHICKEN MOD BOT&quot;;<br /><br />// ---- Mod Sounds Path (Folder name for mod which is in sound folder) ---- (String)<br />new const MOD_SOUNDS_PATH[] =&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;chicken_mod&quot;;<br /><br />// ---- Chicken sounds when gun is picked up or when round starts ----<br />new g_szChickenSounds[][] = {<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;chicken_sound.mp3&quot;<br />};<br /><br />new g_szChickenKillSounds[][] = {<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;chicken_die.wav&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;pukpuk.wav&quot;<br />};<br /><br />// ---- Menus ----<br />// Required Access for admins menu.<br />new const g_szMainMenuTitle[] =&nbsp; &nbsp; &nbsp; &nbsp; &quot;Chicken Mod Menu&quot;;<br /><br />#define ADMIN_MENU_ACCESS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ADMIN_RCON<br />#define ADMIN_SPAWN_ACCESS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ADMIN_RCON<br />#define ADMIN_MENU_POINTS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ADMIN_BAN<br /><br />// ---- Menu item titles ----&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (String)<br />new g_szMainMenuItemsTitle[MMENU_ADMIN_MENU + 1][] = {&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Players Points&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Shop Menu&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Toggle Mod Sounds&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Admin Menu&quot;<br />};<br /><br />// ---- Points ----&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Integer)&nbsp; &nbsp; &nbsp; &nbsp; <br />#define POINTS_KILL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5<br />#define POINTS_TAKE_WEAPON&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 10<br /><br />// ---- XP -----&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Integer)<br />#define XP_KILL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 75<br />#define XP_TAKE_WEAPON&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 200<br /><br />// ---- Color Chat message Color (USELESS) ----&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (USELESS)<br />#define COLOR&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RED<br /><br />// ---- Random gun bullets = Players * This value ----&nbsp; &nbsp; &nbsp; &nbsp; (Integer)<br />#define RANDOM_GUN_BULLETS_MULTIPILE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2<br /><br />// ---- SPEED FOR SHOP ----&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Float)<br />#define SPEED_SET_SHOP&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 375.0<br /><br />// ---- HEALTH ADD IN SHOP ----&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Integer)<br />#define ADD_HEALTH&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 200<br /><br />// ---- BAZOOKA BULLETS IN SHOP ----&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Integer)<br />#define BAZOOKA_BULLETS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3<br /><br />// ---- Time for 'search for weapon' phase ----&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Integer)<br />#define SEARCH_FOR_WEAPON_TIME&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 45&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // In seconds.<br /><br />// ---- Minimum players to start mod. ----&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Integer)<br />#define MIN_PLAYERS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2<br /><br />// ---- Random Weapons Spawn Spot Stuff ----&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Float)<br />#define MAX_ATTEMPTS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 500<br />#define MAX_ORIGIN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4192.0<br />#define MAX_HIGHT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 300.0<br /><br />// ---- Extra Z Origin (Height) for weapon off the ground. ----&nbsp; &nbsp; &nbsp; &nbsp; (Float)<br />#define WEAPON_EXTRA_UP_ORIGIN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 10.0<br /><br />// ---- Emit MP3 Files by searching for near players then sending&nbsp; &nbsp; &nbsp; &nbsp; ( Define or not )<br />// mp3 play command to play sound ----<br />//#define EMIT_MP3<br /><br />// ---- String length ----&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Integer)&nbsp; &nbsp; &nbsp; &nbsp; <br />#define MAX_POINT_STR_LEN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 10<br /><br />// -------------------------------------<br />// ----- SAVING DATA(POINTS) STUFF -----<br />// -------------------------------------<br />// ---- Save Type ----&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (Integer)<br />#define SAVE_TYPE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1 // 1 = Fvault | 2 = Nvault | 3 = SQL<br /><br />new g_szSqlTblFileName[] =&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;chicken_points&quot;; // SQL TABLE or FILE NAME<br /><br />#if SAVE_TYPE == 3<br />&nbsp; &nbsp; &nbsp; &nbsp; //&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (String)<br />&nbsp; &nbsp; &nbsp; &nbsp; #define Host&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;localhost&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; #define User&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;root&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; #define Pass&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; #define Db&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;amxmodx&quot;<br />#endif<br /><br />/* ========================================================= */<br />/* ===================&nbsp; EDIT ENDS HERE&nbsp; ==================== */<br />/* ========================================================= */</code><hr />
</div></div>
</div>
</div><br /><br /><b><font size="4">Changelog:</font></b><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;">v0.1 BETA:<br />- BETA release</div>
</div>
</div><br /><br /><b><font size="4"><font color="Red">Important Note:</font></font></b><br />So basically the reason why I'm sharing this right now is because this was made before a year ago and me and my friend thought we will add alot more things before, but we forgot about it and quitted. So I'm sharing it now maybe some creative guy will add things or make it better or even benefits from the code, so feel free to edit the plugin and post your edition here, and please don't hate me for sharing &quot;boring and unfinished&quot; mod as I said the reason. (The mod is tested and working expect for the native things)<br /><br /><b><font size="4">Credits:</font></b><ul><li>Everyone in alliedmodders</li>
</ul></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.allie...attach/inc.gif"alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...ken_mod.inc</a>(575 Bytes)


</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...cstrike.zip</a>(2.81 MB)


</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/sma.gif"alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>

<a href="http://www.amxmodx.o...78"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1484272145">GetSource</a> (chicken_mod.sma - 107.1 KB)

</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych