Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

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

UltimateJailBreak v0.1.2b [Days + LR + Shop + VIP + Commander + ..] (21st March 2015)


  • 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:7171
  • Lokalizacja:AMXX.PL
Offline

Napisano 21.03.2015 21:04

<div><a name="top"></a><br /><b><font size="6">UltimateJailBreak</font></b><br />by <a href="https://forums.allie...r.php?u=225402"target="_blank">tonykaram1993</a><br /><br /><ul><li> <a href="#description">Description</a></li>
<li> <a href="#features">Features</a></li>
<li> <a href="#commands">Commands</a></li>
<li> <a href="#cvars">CVARs</a></li>
<li> <a href="#customize">Customizable Defines</a></li>
<li> <a href="#installation">Installation Instructions</a></li>
<li> <a href="#bugs">Known Bugs</a></li>
<li> <a href="#screenshots">Screen Shots</a></li>
<li> <a href="#notes">Notes</a></li>
<li> <a href="#credits">Credits</a></li>
<li> <a href="#todo">To-Do</a></li>
<li> <a href="#download">Download</a></li>
<li> <a href="#change">Change Log</a></li>
</ul><br /><a name="description"></a><br /><b><font size="5">Description</font></b><br /><font size="1"><a href="#top">Top</a></font><br /><br />JailBreak needs no introduction, hundreds of servers are running some sort of a JailBreak plugin and it's quite a fun mod. I am not going to waste my time explaining what the mod does and its purpose, however I am going to give you a small history about my plugin.<br /><br />I started out by using <a href="https://forums.allie...er.php?u=59035"target="_blank">nikhilgupta345</a>'s <a href="https://forums.alliedmods.net/showthread.php?t=168122&amp;highlight=jailbreak" target="_blank">JailBreak plugin</a> and found it was great. However, he went inactive and there were a few bugs I wanted to fix myself. I started fixing and adding several features to it. It got to a point where his code consisted of around 10% of the plugin. I added so many features from so many other plugins that I honestly lost count.<br /><br />I never figured I would be posting this publicly for several reasons. First is that there are plenty of stuff that are hardcoded in the source code, and yes I now know this is a bad thing. Second is that I was writing this plugin for someone, however that someone lost interest in CS and moved to other games. <br /><br />So here I am posting this plugin for everyone. Yes there are hardcoded things out there, and yes I will push updates to make this plugin user friendly.<br /><br /><a name="features"></a><br /><b><font size="5">Features:</font></b><br /><font size="1"><a href="#top">Top</a></font><ol style="list-style-type: decimal"><li> Several days to choose from.<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">new const g_strOptionsDayMenu[ MAX_DAYS ][ ] = {<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Free Day&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Cage Day&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;NightCrawler Day&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Zombie Day&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Riot Day&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;President Day&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;USP Ninjas Day&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Nade War Day&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Hulk Day&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Space Day&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Cowboy Day&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Shark Day&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Last Man Standing Day&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &quot;Samurai N Seek Day&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Knife Day&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Judgement Day&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Hide N Seek Day&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Mario Day&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Custom Day&quot;<br />};</code><hr />
</div></div>
</div>
</div></li>
<li> Several lrs to choose from.<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">new const g_strOptionsLastRequest[ MAX_LR ][ ] = {<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Knife Fight&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Weapon Toss&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Duel&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Shot For Shot&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Showdown&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Grenade Toss&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Hot Potato&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Race&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Spray Contest&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Kamikaze&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Suicide Bomber&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Deagle Maniac&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;Uber Glocker&quot;<br />};</code><hr />
</div></div>
</div>
</div></li>
<li> Days restriction (voting only) to prevent several days being played a lot.</li>
<li> Shop with several options.<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">new strOptionsShopMenu[ ][ ] = {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;HE Grenade [explosive]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;FLASH Grenade [blinding shit]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;SMOKE Grenade [foggy atmosphere]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Health Kit [here take 50 HP]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Advanced Health Kit [here take 100 HP]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Armor Jacket [here take 100 AP]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Prison Knife [prison made knife]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;One Bullet Deagle [get that headshot]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;One Bullet Scout [get that headshot]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Assassin Steps [sound reducing choose]&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; };</code><hr />
</div></div>
</div>
</div></li>
<li> Player time spent on server is saved.</li>
<li> Special points system to use in the shop.</li>
<li> Points reward system for the Prisoners.</li>
<li> Gun menu for the Guards and Days.</li>
<li> Commander Menu that allows the Commander to do several things.<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">new strOptions[ ][ ] = {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Open Cells&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Split Prisoners in two teams [nb. Prisoners pair]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Start a timer [10 seconds]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Open the game book [NOOB CT? not anymore]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Pick a random Prisoner [we'll pick for you]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Give a Prisoner an empty Deagle&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Give/Remove a Prisoner's mic access [one round]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Heal all Prisoners [100 HP]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Glow a Prisoner [choose color]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Ask a random math question [we already have the answers]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Enable/Disable Free For All [let them kill each others]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Enable/Disable Dodgeball [hit to kill]&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Enable/Disable Spray Meter [how high can you spray?]&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; };</code><hr />
</div></div>
</div>
</div></li>
<li> Ability for players to shoot buttons to use them (CVAR controlled)</li>
<li> Unlimited ammo on some days.</li>
<li> User specific freedays.</li>
<li> VIP system that gives VIPs unique skins and player models.</li>
<li> Gameplay book for the less creative Guards out there.</li>
<li> Minimum played time restriction for Guards (you have to play more than x minutes to be able to join the Guards team.</li>
<li> Banning players from the Guards team is doable.</li>
<li> Players are allowed to donate points to each others.</li>
<li> Mic usage system automatically controls the mics.</li>
</ol><i>So many more features that cannot be listed due to time limitations.</i><br /><br /><a name="commands"></a><br /><b><font size="5">Commands:</font></b><br /><font size="1"><a href="#top">Top</a></font><br /><br /><b><font size="4">Client Commands:</font></b><br /><br /><b>NOTE:</b> all chat commands are applicable through 'say' and 'say_team' except the ones that do not start with a '/'.<br /><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>COMMAND&nbsp; &nbsp; &nbsp; &nbsp; COMMAND_DESCRIPTION</b><br /><br />/health - Display the health HUD meter.<br />/credits - Display the credits of the plugin.<br />/freeday - Opens up the freeday menu to hand out personnel freedays.<br />/lr - Opens up the Last Request Menu for the last Prisoner.<br />/race - Start the race countdown timer (LR).<br />/showdown - Start the showdown countdown timer (LR).<br />/hotpotato - Start the hotpotato countdown timer (LR).<br />/commander - Take control of the current Cage Day.<br />/nadewar - Start the nadewar day when all Prisoners are gathered together.<br />/commandermenu - Opens the commander menu with several interesting options.<br />/guns - Opens the gun menu to choose Primary and Secondary weapons.<br />/rules - Display a webpage as motd generally containing the rules.<br />/help - Display a webpage as motd generally containing the rules.<br />/day - Open the admin menu to start a specific Day.<br />/jbmenu - Open the main menu where everything else is accessible.<br />/ffa - Enable/Disable Free For All on the server.<br />/shop - Opens the shop menu where special items can be purchased.<br />/points - Display how many points you have.<br />/fun - Open the gambling menu where you can gamble with your points.<br />/time - Display how much time you have spent on the server.<br />/vip - Open the VIP menu where special skins are present.<br />/voteday - Force start a day vote.<br />/book - Open the gameplay book for the commander, so he can choose a game.<br />/pot - Check how much points there is in the raffle pot.<br /><br />+paint - Start drawing on the walls with paint.<br />set_paint &lt;R&gt; &lt;G&gt; &lt;B&gt; - Set the RGB color of the paint color.</code><hr />
</div><b><font size="4">Admin Commands:</font></b><br /><br /><b>Format:</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>COMMAND&nbsp; &nbsp; &nbsp; &nbsp; COMMAND_DESCRIPTION<br />&nbsp; &nbsp; COMMAND_EXAMPLES</b></code><hr />
</div><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">/open - Open the cell doors.<br /><br />amx_allowmic &lt;name | authid | userid&gt; &lt;1 | 0&gt; - Set a player's talk power.<br />amx_give_points &lt;name | authid | userid&gt; #points - Give a player points.<br />amx_remove_points &lt;name | authid | userid&gt; #points - Give a player points.<br />amx_reset_points &lt;name | authid | userid&gt; - Reset a player's points.<br />amx_get_points &lt;name | authid | userid&gt; - Get a player's points.<br />amx_banct &lt;name | authid | userid&gt; &lt;0 | 1&gt; - Ban a player from joiing CT.<br />amx_give_vip &lt;name | authid | userid&gt; - Add a player to the VIP list.<br />amx_remove_vip &lt;name | authid | userid&gt; - Remove a player from the VIP list.<br />amx_playedtime &lt;name | authid | userid&gt; - Get the ammount of time user has played.<br />amx_set_button - Set the button for the cell doors&quot;<br />amx_donate &lt;name | authid | userid&gt; &lt;#&gt; - Donate points to other users.<br />amx_donate_points &lt;name | authid | userid&gt; &lt;#&gt; - Donate points to other users.</code><hr />
</div><a name="cvars"></a><br /><b><font size="5">CVARs</font></b><br /><font size="1"><a href="#top">Top</a></font><br /><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">uj_vote &quot;10&quot;<br />// Default: 1<br />// 0: Disable | 1: Enable every round | #: Enable when # minutes left of the map<br /><br />uj_vote_players &quot;2&quot;<br />// Default: 2<br />// 1: Terrorists can vote | 2: Counter Terrorists can vote | 3: All players can vote<br /><br />uj_vote_opposite &quot;7&quot;<br />// Default: 7<br />// Every x rounds, the opposite team is allowed to vote. Will only work when uj_vote_players is 1 or 2<br />// Example: If only Terrorists can vote, then every x rounds Counter Terrorists are given chance to vote<br /><br />uj_vote_min_guards &quot;1&quot;<br />// Default: 1<br />// Minimum number of guards to start the vote<br /><br />uj_vote_min_prisoners &quot;2&quot;<br />// Default: 2<br />// Minimum number of prisoners to start the vote<br /><br />uj_vote_primary &quot;15&quot;<br />// Default: 15<br />// Time of the main vote in seconds<br /><br />uj_vote_secondary &quot;7&quot;<br />// Default: 7<br />// Time of the extra vote in seconds<br />// Extra votes means the regular or reverse votes (+ restricted and unrestricted votes)<br /><br />uj_vote_display_name &quot;1&quot;<br />// Default: 1<br />// Display or hide what each person has voted for<br /><br />uj_vote_freezetime &quot;1&quot;<br />// Default: 1<br />// Set the freezetime to the primary vote time<br />// That means when they need to vote for a day, they are frozen<br /><br />uj_open_auto &quot;1&quot;<br />// Default: 1<br />// Automatically open the cells on some days when it starts<br /><br />uj_open_command &quot;1&quot;<br />// Default: 1<br />// Allow or disallow admins from opening the cells using a command<br /><br />uj_wallclimb &quot;1&quot;<br />// Default: 1<br />// Allow or disallow nightcrawlers to climb walls<br /><br />uj_shootbuttons &quot;1&quot;<br />// Default: 1<br />// 0: No one can shoot buttons | 1: Terrorists can shoot buttons | 2: Counter Terrorists can shoot buttons | 3: Everyone can shoot buttons<br /><br />uj_lr_mic &quot;1&quot;<br />// Default: 1<br />// Allow or disallow last alive prisoner to talk on the mic<br /><br />uj_revive_players &quot;1&quot;<br />// Default: 1<br />// Whether or not to revive players before day starts<br /><br />uj_lr_auto &quot;1&quot;<br />// Default: 1<br />// Whether or not to automatically open the lr menu when he is able to<br /><br />uj_block_flashlight &quot;1&quot;<br />// Default: 1<br />// 0: Everyone can use flashlight | 1: Block for Terrorists | 2: Block for Counter Terrorists | 3: Block for everybody</code><hr />
</div><a name="customize"></a><br /><font size="5"><b>Customizable Defines</b></font><br /><font size="1"><a href="#top">Top</a></font><br /><br /><b>NOTE:</b> these are the defines that you can customize to your liking. After editing them, you will need to recompile the plugin for it to take effect (you need to edit these in the source file a.k.a. '.sma')<br /><!-- Code block -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<pre class="alt2" dir="ltr" style="margin: 0px;padding: 6px;border: 1px inset;width: auto; height: px; text-align: left; overflow: auto"><div class="pawn" style="font-family: monospace;"><span style="color: #ff0000; font-style: italic;">/*
&nbsp; &nbsp; Below is the section where normal people can safely edit
&nbsp; &nbsp; its values.
&nbsp; &nbsp; Please if you don't know how to code, refrain from editing
&nbsp; &nbsp; anything outside the safety zone.
&nbsp; &nbsp;
&nbsp; &nbsp; Experienced coders are free to edit what they want, but I
&nbsp; &nbsp; will not reply to any private messages nor emails about hel-
&nbsp; &nbsp; ping you with it.
&nbsp; &nbsp;
&nbsp; &nbsp; SAFETY ZONE STARTS HERE
*/</span>
<span style="color: #cf0020;">// #define MAX_PLAYERS&nbsp; &nbsp; &nbsp; 32</span>

<span style="color: #339900;">#define NOCLIP_SPEED&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Float:10.0</span>
<span style="color: #339900;">#define TIME_HOTPOTATO&nbsp; &nbsp; &nbsp; Float:30.0</span>
<span style="color: #339900;">#define KAMIKAZE_CT_COUNT&nbsp; &nbsp;&nbsp; &nbsp;3</span>
<span style="color: #339900;">#define PROXIMITY_DISTANCE&nbsp; &nbsp; Float:300.0</span>

<span style="color: #339900;">#define NC_HEALTH1_CT&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;30</span>
<span style="color: #339900;">#define NC_ARMOR1_CT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 150</span>
<span style="color: #339900;">#define NC_ARMOR1_T&nbsp;&nbsp;&nbsp;100</span>
<span style="color: #339900;">#define NC_HEALTH2_CT&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;45</span>
<span style="color: #339900;">#define NC_ARMOR2_CT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 150</span>
<span style="color: #339900;">#define NC_ARMOR2_T&nbsp;&nbsp;&nbsp;100</span>

<span style="color: #339900;">#define ZOMBIE_HEALTH1_T&nbsp; &nbsp; &nbsp; &nbsp; 600</span>
<span style="color: #339900;">#define ZOMBIE_ARMOR1_T&nbsp;&nbsp;&nbsp;100</span>
<span style="color: #339900;">#define ZOMBIE_ARMOR1_CT&nbsp; &nbsp; &nbsp; &nbsp; 100</span>
<span style="color: #339900;">#define ZOMBIE_HEALTH2_CT&nbsp; &nbsp;&nbsp; &nbsp;900</span>
<span style="color: #339900;">#define ZOMBIE_ARMOR2_CT&nbsp; &nbsp; &nbsp; &nbsp; 100</span>
<span style="color: #339900;">#define ZOMBIE_ARMOR2_T&nbsp;&nbsp;&nbsp;100</span>

<span style="color: #339900;">#define PRESIDENT_USP_BP&nbsp; &nbsp; &nbsp; &nbsp; 100</span>
<span style="color: #339900;">#define PRESIDENT_HEALTH&nbsp; &nbsp; &nbsp; &nbsp; 125</span>
<span style="color: #339900;">#define PRESIDENT_ARMOR&nbsp;&nbsp;&nbsp;300</span>
<span style="color: #339900;">#define PRESIDENT_GUARD_HEALTH&nbsp; &nbsp; 75</span>
<span style="color: #339900;">#define PRESIDENT_GUARD_ARMOR&nbsp; &nbsp;&nbsp; &nbsp;150</span>

<span style="color: #339900;">#define USP_NINJA_HEALTH_CT&nbsp;&nbsp;25</span>
<span style="color: #339900;">#define USP_NINJA_BP_CT&nbsp;&nbsp;&nbsp;112</span>
<span style="color: #339900;">#define USP_NINJA_BP_T&nbsp; &nbsp; &nbsp; 24</span>
<span style="color: #339900;">#define USP_NINJA_GRAVITY&nbsp; &nbsp;&nbsp; &nbsp;600</span>

<span style="color: #339900;">#define HULK_AMMO_P90_CT&nbsp; &nbsp; &nbsp; &nbsp; 100</span>
<span style="color: #339900;">#define HULK_AMMO_FIVESEVEN_CT&nbsp; &nbsp; 100</span>
<span style="color: #339900;">#define HULK_ARMOR_CT&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;100</span>
<span style="color: #339900;">#define HULK_HEALTH_T&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;100</span>
<span style="color: #339900;">#define HULK_ARMOR_T&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 100</span>
<span style="color: #339900;">#define HULK_SMASH_INTERVAL&nbsp;&nbsp;Float:20.0</span>

<span style="color: #339900;">#define SPACE_ARMOR_CT&nbsp; &nbsp; &nbsp; 100</span>
<span style="color: #339900;">#define SPACE_ARMOR_T&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;100</span>
<span style="color: #339900;">#define SPACE_GRAVITY&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;250</span>
<span style="color: #339900;">#define SPACE_HEALTH_T&nbsp; &nbsp; &nbsp; 100</span>
<span style="color: #339900;">#define SPACE_HEALTH_CT&nbsp;&nbsp;&nbsp;200</span>

<span style="color: #339900;">#define SHARK_HEALTH_CT&nbsp;&nbsp;&nbsp;300</span>
<span style="color: #339900;">#define SHARK_HEALTH1_CT&nbsp; &nbsp; &nbsp; &nbsp; 300</span>
<span style="color: #339900;">#define COWBOY_HEALTH_CT&nbsp; &nbsp; &nbsp; &nbsp; 175</span>

<span style="color: #339900;">#define KNIFE_HEALTH_CT&nbsp;&nbsp;&nbsp;65</span>
<span style="color: #339900;">#define KNIFE_HEALTH_T&nbsp; &nbsp; &nbsp; 35</span>

<span style="color: #339900;">#define LMS_HEALTH_T&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 250</span>
<span style="color: #339900;">#define LMS_ARMOR_T&nbsp;&nbsp;&nbsp;100</span>
<span style="color: #339900;">#define LMS_WEAPON_INTERVAL&nbsp;&nbsp;Float:45.0</span>

<span style="color: #339900;">#define MARIO_GRAVITY&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;250</span>
<span style="color: #339900;">#define HNS_DANGER_METER&nbsp; &nbsp; &nbsp; &nbsp; Float:0.5</span>
<span style="color: #339900;">#define NADEWAR_GIVENADES&nbsp; &nbsp;&nbsp; &nbsp;Float:150.0</span>

<span style="color: #339900;">#define KAMIKAZE_HEALTH_T&nbsp; &nbsp;&nbsp; &nbsp;200</span>
<span style="color: #339900;">#define KAMIKAZE_ARMOR_T&nbsp; &nbsp; &nbsp; &nbsp; 200</span>
<span style="color: #339900;">#define KAMIKAZE_HEALTH_CT&nbsp; &nbsp; 100</span>
<span style="color: #339900;">#define KAMIKAZE_ARMOR_CT&nbsp; &nbsp;&nbsp; &nbsp;100</span>

<span style="color: #339900;">#define DEAGLE_MANIAC_ARMOR_CT&nbsp; &nbsp; 100</span>
<span style="color: #339900;">#define DEAGLE_MANIAC_ARMOR_T&nbsp; &nbsp;&nbsp; &nbsp;100</span>
<span style="color: #339900;">#define DEAGLE_MANIAC_CT_COUNT&nbsp; &nbsp; 3</span>
<span style="color: #339900;">#define DEAGLE_MANIAC_HEALTH_CT&nbsp;&nbsp;100</span>
<span style="color: #339900;">#define DEAGLE_MANIAC_HEALTH_T&nbsp; &nbsp; 1</span>
<span style="color: #339900;">#define DEAGLE_MANIAC_INV_T&nbsp;&nbsp;10</span>

<span style="color: #339900;">#define UBER_GLOCKER_HEALTH_T&nbsp; &nbsp;&nbsp; &nbsp;500</span>
<span style="color: #339900;">#define UBER_GLOCKER_ARMOR_T&nbsp; &nbsp; &nbsp; &nbsp; 200</span>
<span style="color: #339900;">#define UBER_GLOCKER_HEALTH_CT&nbsp; &nbsp; 100</span>
<span style="color: #339900;">#define UBER_GLOCKER_ARMOR_CT&nbsp; &nbsp;&nbsp; &nbsp;100</span>
<span style="color: #339900;">#define UBER_GLOCKER_CT_COUNT&nbsp; &nbsp;&nbsp; &nbsp;3</span>

<span style="color: #339900;">#define VOTE_PRIM_MIN&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;10</span>
<span style="color: #339900;">#define VOTE_PRIM_MAX&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;30</span>
<span style="color: #339900;">#define VOTE_SEC_MIN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5</span>
<span style="color: #339900;">#define VOTE_SEC_MAX&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 15</span>

<span style="color: #339900;">#define TIME_COUNTDOWN_NC&nbsp; &nbsp;&nbsp; &nbsp;16</span>
<span style="color: #339900;">#define TIME_COUNTDOWN_SHARK&nbsp; &nbsp; &nbsp; &nbsp; 16</span>
<span style="color: #339900;">#define TIME_COUNTDOWN_MARIO&nbsp; &nbsp; &nbsp; &nbsp; 31</span>
<span style="color: #339900;">#define TIME_COUNTDOWN_SAMURAI&nbsp; &nbsp; 61</span>
<span style="color: #339900;">#define TIME_COUNTDOWN_HNS&nbsp; &nbsp; 61</span>
<span style="color: #339900;">#define TIME_COUNTDOWN_RACE&nbsp;&nbsp;11</span>
<span style="color: #339900;">#define TIME_COUNTDOWN_HOTPOTATO&nbsp; &nbsp; 11</span>
<span style="color: #339900;">#define TIME_COUNTDOWN_COMMANDER&nbsp; &nbsp; 11</span>

<span style="color: #339900;">#define BEAM_LIFE&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;40</span>
<span style="color: #339900;">#define BEAM_WIDTH&nbsp; &nbsp; &nbsp; 10</span>
<span style="color: #339900;">#define BEAM_BRIGHT&nbsp;&nbsp;&nbsp;195</span>

<span style="color: #339900;">#define POINTS_KILL&nbsp;&nbsp;&nbsp;3</span>
<span style="color: #339900;">#define POINTS_KILL_HS&nbsp; &nbsp; &nbsp; 5</span>
<span style="color: #339900;">#define POINTS_LR&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;5</span>
<span style="color: #339900;">#define POINTS_ROUND_START&nbsp; &nbsp; 1</span>
<span style="color: #339900;">#define POINTS_ROUND_END&nbsp; &nbsp; &nbsp; &nbsp; 2</span>
<span style="color: #339900;">#define POINTS_MIN_PLAYERS&nbsp; &nbsp; 7</span>

<span style="color: #339900;">#define RANDOM_PLAYER_GLOW&nbsp; &nbsp; Float:3.0</span>
<span style="color: #339900;">#define TEAMJOIN_TEAM&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&quot;1&quot;</span>
<span style="color: #339900;">#define TEAMJOIN_CLASS&nbsp; &nbsp; &nbsp; &quot;2&quot;</span>

<span style="color: #339900;">#define FUN_ROULETTE_CHANCE&nbsp;&nbsp;10</span>
<span style="color: #339900;">#define FUN_ROULETTE_POINTS&nbsp;&nbsp;100</span>
<span style="color: #339900;">#define FUN_LOTTERY_POINTS&nbsp; &nbsp; 750000</span>
<span style="color: #339900;">#define FUN_LOTTERY_NUMBERS&nbsp;&nbsp;6</span>

<span style="color: #339900;">#define RAFFLE_TICKET_COST&nbsp; &nbsp; 50</span>
<span style="color: #339900;">#define TEAM_RATIO&nbsp; &nbsp; &nbsp; 3</span>
<span style="color: #339900;">#define MINIMUM_TIME_TO_CT&nbsp; &nbsp; 10</span>
<span style="color: #ff0000; font-style: italic;">/*
&nbsp; &nbsp; This is where you stop. Editing anything below this point
&nbsp; &nbsp; might lead to some serious errors, and you will not get any
&nbsp; &nbsp; support if you do.
&nbsp; &nbsp;
&nbsp; &nbsp; SAFETY ZONE ENDS HERE
*/</span></div></pre>
</div>
<!-- /Code block --><br /><a name="installation"></a><br /><b><font size="5">Installation Instructions</font></b><br /><font size="1"><a href="#top">Top</a></font><br /><ol style="list-style-type: decimal"><li> You would need to compile this plugin locally to the latest 1.8.3 dev build for the plugin to work.</li>
<li> To change the skins of the players and for the vip skins to work, please install <a href="https://forums.allie...58925?p=958925"target="_blank">this</a> plugin.</li>
<li> If you want to change anything inside the code, please compile the plugin each time you do that.</li>
<li> It is recommended that you install the JailBreak Soccerball plugin that can be found on these forums.</li>
<li> Download and place all the sounds/models to their respective locations.</li>
<li> Use the specified 'player_models.ini' provided with this plugin.</li>
</ol><br /><br /><a name="bugs"></a><br /><b><font size="5">Known Bugs:</font></b><br /><font size="1"><a href="#top">Top</a></font><br /><br /><i>Please report any bugs you may find in the comments below.</i><br /><br /><a name="screenshots"></a><br /><b><font size="5">Screen Shots:</font></b><br /><font size="1"><a href="#top">Top</a></font><br /><br /><i>Will be providing screenshots soon.</i><br /><br /><a name="notes"></a><br /><b><font size="5">Notes</font></b><br /><font size="1"><a href="#top">Top</a></font><br /><ul><li> If you like this plugin and the layout, rate this thread 5 stars for a piece of :bacon!:.</li>
<li> To report an issue with the plugin or even suggest an improvement, do so in the comments :up:.</li>
<li> Questions that can be answered by reading this post will be ignored. :rtfm:</li>
<li> To view the full change log of the plugin, please go <a href="#change">here</a> :stupid:.</li>
<li> For a list of servers using this plugin, please go on <a href="http://www.game-moni...le&#38;num=100"target="_blank">game-monitor</a> or <a href="http://www.gametracker.com/search/?search_by=server_variable&amp;search_by2=UltimateJailBreak&amp;query=&amp;loc=_all&amp;sort=&amp;order=" target="_blank">gametracker</a>.</li>
<li> If you would like to talk to me in private, send me an e-mail to the following e-mail address <a href="mailto:tonykaram1993@gmail.com">tonykaram1993@gmail.com</a>.</li>
<li> If you want to view the source code, view it under these conditions in any text editor :arrow::<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">&nbsp; &nbsp; Notepad++ Allied Modders Edition v6.2<br />&nbsp; &nbsp; Style Configuration:&nbsp; &nbsp; Default<br />&nbsp; &nbsp; Font:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Consolas<br />&nbsp; &nbsp; Font size:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 10<br />&nbsp; &nbsp; Indent Tab:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 8 spaces</code><hr />
</div></li>
</ul><br /><a name="credits"></a><br /><b><font size="5">Credits</font></b><br /><font size="1"><a href="#top">Top</a></font><br /><br />I would like to terribly apologize for the missing list of credits that should be given to all those who deserve it out there. Since this plugin grew so fast, I lost track of all the plugins/code that I used. I would like to thank the entire open source community of AlliedMods for the vaste array of helping tutorials and pieces of code.<br /><br /><a name="todo"></a><br /><b><font size="5">To-Do:</font></b><br /><font size="1"><a href="#top">Top</a></font><br /><br />Make this plugin less hardcoded and easier to customize.<br /><br /><a name="download"></a><br /><b><font size="5">Download</font></b><br /><font size="1"><a href="#top">Top</a></font><br /><br /><i>Code will be available on GitHub soon.</i><br /><br /><i><font size="1">0+ downloads reset</font></i><br /><br /><a href="http://www.mediafire...and_Models.rar"target="_blank">Sounds and Models</a>.</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/ini.gif"alt="File Type: ini" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie..._models.ini</a>(397 Bytes)


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


<a href="https://forums.allie...ilBreak.cfg</a>(2.0 KB)


</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...41"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1426968215">GetSource</a> (UltimateJailBreak.sma - 285.6 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