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

[CS:GO] Jailbreak special days with jail shop (like cs 1.6 style)


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

Napisano 12.11.2015 17:45

<div><b><u>Description:</u></b><br /><br />A long time ago I made a jailbreak server with special days and jail shop like cs 1.6 style. Also include a very structured menu where you can found all.<br /> <br /> <br />Pressing the button &quot;.&quot; of your keyboard appear the main menu.<br /> <br /><b>The main menu is:</b><br /> <br />(this opcion only appear to guards)Be simon (or Simon menu is you already are simon)<br />(this opcion only appear to guards) Choose weapons (for guards can select their weapons in spawn)<br />Jail shop<br />Hats menu<br />Read rules (i removed it for now)<br />Admin menu<br /> <br /><b>Simon menu have:</b><br /> <br />Press jail cells (for open or close jail cells with the simon's menu)<br />Give FreeDay to everybody<br />Give FreeDay to someone (next, a menu with all the prisioners appear)<br />Kill a random prisioner (feature for some jail games where the simon say &quot;now a random prison will die&quot;)<br />Enable/Disable Friendly fire (jail box for make fight prisioners vs prisioners and the FF dont affect to guards, only prisioners)<br />Leave Simon<br /> <br /> <br /><b>The day are random in the round start. The Day Jails are:</b><br /> <br /><b>Simon day</b><br />A random guard is selected as Simon<br /> <br /><b>Zombie day</b><br />The jails cells are opened automatically and prisioners receive weapons. Guards are zombies with a zombie skin, with knockback (like a zombie server) and with 10000 HP. Include darkness effect in the map ( <a href="http://steamcommunit.../?id=371086553"target="_blank">http://steamcommunit...d=371086553</a> )<br /> <br /> <br /><b>HideNseek Day</b><br />Guards will be frozen for 1 minute and the prisoners have to hide within the one minute. When 1 minute is reached, guards are unfrozen and prisioners are frozen, also the darkness affect is turned ON. Guards are a big transparent chicken for be visible for prisioners ( <a href="http://steamcommunity.com/sharedfiles/filedetails/?id=380163318" target="_blank">http://steamcommunit...d=380163318</a> ).<br /> <br /> <br /><b>NoScope day</b><br />Jail cells are opened automatically, the gravity is very low (big jumps), prisioners cant kill to guards and guards have a AWP but they cant use the awp zoom.<br /> <br /><b>War Day</b><br />Prisioners are frozen the first 30 seconds. Time where the guards can be distributed around the map. Then prisioners and guards receive weapons and the War start.<br /> <br /> <br /><b>War Free For All Day</b><br />In the first 30 seconds cant attack. Time where the all can be distributed around the map. Then prisioners and guards receive weapons and the War start where only one can survive.<br /> <br /><b>Freeze Tag Day</b><br />The guards must catch prisioners for freeze him but prisioners can save to teammates if they touch him<br /> <br /><b>FreeDay Day</b><br />All prisioners receive FreeDay and the jail cells are opened automatically.<br /><br /><br />I included in these pack <a href="https://forums.alliedmods.net/showthread.php?p=1960123" target="_blank">shortsprint</a>, <a href="https://forums.alliedmods.net/showthread.php?p=708265" target="_blank">afk manager</a>, and <a href="https://forums.alliedmods.net/showthread.php?p=895990" target="_blank">anticamp</a><br /><br /><br /><b><u>Requeriments:</u></b><br /><br />The last version of SM_Hosties<br />Jail doors -&gt; <a href="https://forums.alliedmods.net/showthread.php?p=2306018" target="_blank">https://forums.allie...=2306018</a><br /><br /><br /><b><u>For developers:</u></b><br /><br />The API is:<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">//&nbsp;JAILBREAK&nbsp;natives&nbsp;by&nbsp;Franc1sco&nbsp;franug
<br />
<br />
<br />//&nbsp;Teams&nbsp;index&nbsp;for&nbsp;JAILBREAK&nbsp;plugin
<br />#define&nbsp;JB_GUARDS&nbsp;1
<br />#define&nbsp;JB_PRISIONERS&nbsp;2
<br />#define&nbsp;JB_BOTH&nbsp;3
<br />
<br />
<br />/**
<br />&nbsp;*&nbsp;Add&nbsp;a&nbsp;Award&nbsp;to&nbsp;the&nbsp;main&nbsp;plugin.
<br />&nbsp;*
<br />&nbsp;*&nbsp;@param&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Award&nbsp;name.
<br />&nbsp;*&nbsp;@param&nbsp;price&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Award&nbsp;Price.
<br />&nbsp;*&nbsp;@param&nbsp;teamallowed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Team&nbsp;allowed&nbsp;for&nbsp;use&nbsp;this&nbsp;award.
<br />&nbsp;*&nbsp;
<br />&nbsp;*&nbsp;@noreturn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;JB_AddAward</span><span style="color: #007700">(const&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">:</span><span style="color: #0000BB">name</span><span style="color: #007700">[],&nbsp;</span><span style="color: #0000BB">price</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">teamallowed</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Select&nbsp;a&nbsp;special&nbsp;round&nbsp;to&nbsp;do&nbsp;this&nbsp;round.
<br />&nbsp;*
<br />&nbsp;*&nbsp;@param&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Round&nbsp;name.
<br />&nbsp;*&nbsp;
<br />&nbsp;*&nbsp;@noreturn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;JB_ChooseRound</span><span style="color: #007700">(const&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">:</span><span style="color: #0000BB">name</span><span style="color: #007700">[]);
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Called&nbsp;when&nbsp;a&nbsp;Award&nbsp;has&nbsp;been&nbsp;bought.
<br />&nbsp;*
<br />&nbsp;*&nbsp;@param&nbsp;client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Client&nbsp;that&nbsp;bought&nbsp;the&nbsp;award.
<br />&nbsp;*&nbsp;@param&nbsp;price&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Award&nbsp;Bought.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">forward&nbsp;JB_OnAwardBought</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">client</span><span style="color: #007700">,&nbsp;const&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">:</span><span style="color: #0000BB">awardbought</span><span style="color: #007700">[]);
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Remove&nbsp;a&nbsp;Award&nbsp;to&nbsp;the&nbsp;main&nbsp;plugin.
<br />&nbsp;*
<br />&nbsp;*&nbsp;@param&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Award&nbsp;name.
<br />&nbsp;*&nbsp;
<br />&nbsp;*&nbsp;@noreturn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;JB_RemoveAward</span><span style="color: #007700">(const&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">:</span><span style="color: #0000BB">name</span><span style="color: #007700">[]);
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Set&nbsp;as&nbsp;special&nbsp;class&nbsp;(can´t&nbsp;buy&nbsp;awards)&nbsp;a&nbsp;player.
<br />&nbsp;*
<br />&nbsp;*&nbsp;@param&nbsp;client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Client&nbsp;target.
<br />&nbsp;*&nbsp;@param&nbsp;special&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set&nbsp;true&nbsp;or&nbsp;false&nbsp;the&nbsp;state&nbsp;of&nbsp;"special&nbsp;class".
<br />&nbsp;*&nbsp;
<br />&nbsp;*&nbsp;@noreturn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;JB_SetSpecial</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">bool</span><span style="color: #007700">:</span><span style="color: #0000BB">special</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Check&nbsp;if&nbsp;a&nbsp;player&nbsp;is&nbsp;a&nbsp;special&nbsp;class.
<br />&nbsp;*
<br />&nbsp;*&nbsp;@param&nbsp;client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;client&nbsp;index
<br />&nbsp;*&nbsp;
<br />&nbsp;*&nbsp;@return&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True&nbsp;if&nbsp;Special&nbsp;class,&nbsp;false&nbsp;if&nbsp;not.
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;bool</span><span style="color: #007700">:</span><span style="color: #0000BB">JB_GetSpecial</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Set&nbsp;credits&nbsp;to&nbsp;a&nbsp;client.
<br />&nbsp;*
<br />&nbsp;*&nbsp;@param&nbsp;client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Client&nbsp;target.
<br />&nbsp;*&nbsp;@param&nbsp;credits&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Number&nbsp;of&nbsp;credit&nbsp;for&nbsp;set.
<br />&nbsp;*&nbsp;
<br />&nbsp;*&nbsp;@noreturn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;JB_SetCredits</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">credits</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Check&nbsp;if&nbsp;a&nbsp;player&nbsp;is&nbsp;a&nbsp;special&nbsp;class.
<br />&nbsp;*
<br />&nbsp;*&nbsp;@param&nbsp;client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Client&nbsp;target.
<br />&nbsp;*&nbsp;
<br />&nbsp;*&nbsp;@return&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return&nbsp;current&nbsp;credits&nbsp;of&nbsp;the&nbsp;target
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;JB_GetCredits</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Give&nbsp;FreeDay&nbsp;to&nbsp;a&nbsp;player.
<br />&nbsp;*
<br />&nbsp;*&nbsp;@param&nbsp;client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Client&nbsp;target.
<br />&nbsp;*&nbsp;
<br />&nbsp;*&nbsp;@noreturn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;JB_GiveFD</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Check&nbsp;if&nbsp;a&nbsp;player&nbsp;is&nbsp;FD.
<br />&nbsp;*
<br />&nbsp;*&nbsp;@param&nbsp;client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;client&nbsp;index.
<br />&nbsp;*&nbsp;
<br />&nbsp;*&nbsp;@return&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;True&nbsp;if&nbsp;FD,&nbsp;false&nbsp;if&nbsp;not.
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;bool</span><span style="color: #007700">:</span><span style="color: #0000BB">JB_GetFD</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">);
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Sent&nbsp;translations&nbsp;to&nbsp;the&nbsp;main&nbsp;plugin.
<br />&nbsp;*
<br />&nbsp;*&nbsp;@param&nbsp;client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File&nbsp;with&nbsp;translations.
<br />&nbsp;*&nbsp;
<br />&nbsp;*&nbsp;@noreturn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;JB_LoadTranslations</span><span style="color: #007700">(const&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">:</span><span style="color: #0000BB">langfile</span><span style="color: #007700">[]);&nbsp;
<br />
<br /></span><span style="color: #FF8000">/**
<br />&nbsp;*&nbsp;Check&nbsp;if&nbsp;a&nbsp;player&nbsp;is&nbsp;a&nbsp;special&nbsp;class.
<br />&nbsp;*
<br />&nbsp;*&nbsp;@param&nbsp;CurrentRound&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;to&nbsp;store&nbsp;the&nbsp;name&nbsp;of&nbsp;current&nbsp;round.
<br />&nbsp;*&nbsp;
<br />&nbsp;*&nbsp;@return&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return&nbsp;true&nbsp;if&nbsp;a&nbsp;round&nbsp;has&nbsp;been&nbsp;selected,&nbsp;false&nbsp;if&nbsp;not.
<br />&nbsp;*/
<br /></span><span style="color: #0000BB">native&nbsp;bool</span><span style="color: #007700">:</span><span style="color: #0000BB">JB_GetRound</span><span style="color: #007700">(</span><span style="color: #0000BB">String</span><span style="color: #007700">:</span><span style="color: #0000BB">CurrentRound</span><span style="color: #007700">[]);&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><br />A example subplugin is this:<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">#pragma&nbsp;semicolon&nbsp;1
<br />#include&nbsp;&lt;sourcemod&gt;
<br />#include&nbsp;&lt;sdktools&gt;
<br />#include&nbsp;&lt;franug_jb&gt;
<br />
<br />//&nbsp;configuration&nbsp;part
<br />#define&nbsp;AWARDNAME&nbsp;"zeus"&nbsp;//&nbsp;Name&nbsp;of&nbsp;award
<br />#define&nbsp;PRICE&nbsp;30&nbsp;//&nbsp;Award&nbsp;price
<br />#define&nbsp;AWARDTEAM&nbsp;JB_GUARDS&nbsp;//&nbsp;Set&nbsp;team&nbsp;that&nbsp;can&nbsp;buy&nbsp;this&nbsp;award&nbsp;(use&nbsp;JB_BOTH&nbsp;or&nbsp;JB_GUARDS&nbsp;or&nbsp;JB_PRISONS)
<br />#define&nbsp;TRANSLATIONS&nbsp;"jailbreak_zeus.phrases"&nbsp;//&nbsp;Set&nbsp;translations&nbsp;file&nbsp;for&nbsp;this&nbsp;subplugin
<br />//&nbsp;end&nbsp;configuration
<br />
<br />
<br />//&nbsp;dont&nbsp;touch
<br /></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">OnPluginStart</span><span style="color: #007700">()
<br />{
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">CreateTimer</span><span style="color: #007700">(</span><span style="color: #0000BB">0.1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Lateload</span><span style="color: #007700">);
<br />}
<br />
<br />public&nbsp;</span><span style="color: #0000BB">Action</span><span style="color: #007700">:</span><span style="color: #0000BB">Lateload</span><span style="color: #007700">(</span><span style="color: #0000BB">Handle</span><span style="color: #007700">:</span><span style="color: #0000BB">timer</span><span style="color: #007700">)
<br />{
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">LoadTranslations</span><span style="color: #007700">(</span><span style="color: #0000BB">TRANSLATIONS</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;translations&nbsp;to&nbsp;the&nbsp;local&nbsp;plugin
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">JB_LoadTranslations</span><span style="color: #007700">(</span><span style="color: #0000BB">TRANSLATIONS</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;sent&nbsp;translations&nbsp;to&nbsp;the&nbsp;main&nbsp;plugin
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">JB_AddAward</span><span style="color: #007700">(</span><span style="color: #0000BB">AWARDNAME</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">PRICE</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">AWARDTEAM</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;add&nbsp;award&nbsp;to&nbsp;the&nbsp;main&nbsp;plugin
<br /></span><span style="color: #007700">}
<br />public&nbsp;</span><span style="color: #0000BB">OnPluginEnd</span><span style="color: #007700">()
<br />{
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">JB_RemoveAward</span><span style="color: #007700">(</span><span style="color: #0000BB">AWARDNAME</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;remove&nbsp;award&nbsp;when&nbsp;the&nbsp;plugin&nbsp;is&nbsp;unloaded
<br /></span><span style="color: #007700">}
<br /></span><span style="color: #FF8000">//&nbsp;END&nbsp;dont&nbsp;touch&nbsp;part
<br />
<br />
<br /></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">JB_OnAwardBought</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">client</span><span style="color: #007700">,&nbsp;const&nbsp;</span><span style="color: #0000BB">String</span><span style="color: #007700">:</span><span style="color: #0000BB">awardbought</span><span style="color: #007700">[])
<br />{
<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">StrEqual</span><span style="color: #007700">(</span><span style="color: #0000BB">awardbought</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">AWARDNAME</span><span style="color: #007700">))
<br />&nbsp;&nbsp;&nbsp;&nbsp;{
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;use&nbsp;your&nbsp;custom&nbsp;code&nbsp;here
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">PrintToChat</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"&nbsp;x04[Franug-JailBreak]&nbsp;x05%t"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Has&nbsp;comprado&nbsp;un&nbsp;arma&nbsp;ZEUS"</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;translation&nbsp;phrase
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">GivePlayerItem</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"weapon_taser"</span><span style="color: #007700">);
<br />&nbsp;&nbsp;&nbsp;&nbsp;}
<br />}&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><br /><font size="4"><font color="Red">Warning, I used it a long time ago in my server so probably I forget something to add in the zip because this was a big jailbreak mod that I made. Report bugs! and I am searching to someone to can give me ftp access to his server for help me to support this mod better and for free.</font></font><br /><br /><br /><b><u>The servers that can help me to support this mod will be listed here:</u></b><br /><br />-None yet<br /><br /><br /><b><u>Donations</u> (optional)</b>:<br /><br />If you apreciate my work, you can donate me via <a href="https://www.paypal.c...=LWD5V2WBKDQPQ"target="_blank">paypal</a> or with a <a href="https://steamcommunity.com/tradeoffer/new/?partner=51342916&amp;token=zUImHQui" target="_blank">trade offer</a><br /><br /><br />Enjoy! ;)<br /><br /><br />Offtopic; Note for costumers that bought this plugin from me:<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 />If you bought this plugin from me, contact with me and I sent you another private plugin in exchange but do not bother in this thread<br /></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.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...7346726">franugjailbreak with the cs 1.6 style.zip</a> (2.33 MB)


</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