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

Respawn Menu [FIXED]


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

Napisano 26.12.2014 14:22

<!-- BEGIN TEMPLATE: postbit_external -->
<div><div align="center"><font color="Blue"><font face="Arial Black">[SG] Respawn Menu <font color="Red">[FIXED]</font></font></font><br /><font face="Arial Black">Original Plugin :</font><br /><a href="https://forums.allie...d.php?t=251280"target="_blank">https://forums.allie...t=251280</a><br /><font face="Arial Black">Author :</font><br /><a href="https://forums.alliedmods.net/member.php?u=253447" target="_blank">Linkin Hisoka</a><br /><font face="Arial Black">Edited By</font><br /><a href="https://forums.alliedmods.net/member.php?u=253368" target="_blank">ZiZox</a></div><div align="right"><font face="Lucida Sans Unicode">If see bug or somthing tell me!</font></div><div align="center"><font face="Arial Black"><font color="Yellow">CODE :</font></font></div><!-- 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&nbsp;&lt;amxmodx&gt;
<br />#include&nbsp;&lt;amxmisc&gt;
<br />#include&nbsp;&lt;Colorchat&gt;
<br />#include&nbsp;&lt;hamsandwich&gt;
<br />
<br />#define&nbsp;PLUGIN&nbsp;"SG&nbsp;revive&nbsp;menu"
<br />#define&nbsp;VERSION&nbsp;"1.0"
<br />#define&nbsp;AUTHOR&nbsp;"author"
<br />
<br />
<br /></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">plugin_init</span><span style="color: #007700">()&nbsp;{
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_plugin</span><span style="color: #007700">(</span><span style="color: #DD0000">"SG&nbsp;revive&nbsp;menu"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1.0"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"hisoka"</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_clcmd</span><span style="color: #007700">(</span><span style="color: #DD0000">"say&nbsp;/revive"</span><span style="color: #007700">,</span><span style="color: #DD0000">"menurevive"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ADMIN_BAN</span><span style="color: #007700">)&nbsp;&nbsp;&nbsp;&nbsp;
<br />}
<br />public&nbsp;</span><span style="color: #0000BB">menurevive</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
<br />{&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;if(!(</span><span style="color: #0000BB">get_user_flags</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;&amp;&nbsp;</span><span style="color: #0000BB">ADMIN_BAN</span><span style="color: #007700">))
<br />&nbsp;&nbsp;&nbsp;&nbsp;{
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ColorChat</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">GREY</span><span style="color: #007700">,</span><span style="color: #DD0000">"^4[SG]&nbsp;^3You&nbsp;Have&nbsp;No&nbsp;Access&nbsp;To&nbsp;This&nbsp;Menu."</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szText</span><span style="color: #007700">[</span><span style="color: #0000BB">555&nbsp;char</span><span style="color: #007700">]
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(</span><span style="color: #0000BB">szText</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">charsmax</span><span style="color: #007700">(</span><span style="color: #0000BB">szText</span><span style="color: #007700">),&nbsp;</span><span style="color: #DD0000">"g[SG]&nbsp;rRevive&nbsp;Menu&nbsp;g{Choose&nbsp;A&nbsp;Player}"</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">AdminMenu&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">menu_create</span><span style="color: #007700">(</span><span style="color: #0000BB">szText</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"menuMainHandle"</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(</span><span style="color: #0000BB">szText</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">charsmax</span><span style="color: #007700">(</span><span style="color: #0000BB">szText</span><span style="color: #007700">),&nbsp;</span><span style="color: #DD0000">"wRespawn&nbsp;a&nbsp;Player"</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">menu_additem</span><span style="color: #007700">(</span><span style="color: #0000BB">AdminMenu</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szText</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(</span><span style="color: #0000BB">szText</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">charsmax</span><span style="color: #007700">(</span><span style="color: #0000BB">szText</span><span style="color: #007700">),&nbsp;</span><span style="color: #DD0000">"wRespawn&nbsp;YourSelf!"</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">menu_additem</span><span style="color: #007700">(</span><span style="color: #0000BB">AdminMenu</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szText</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"2"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED
<br /></span><span style="color: #007700">}
<br />
<br />public&nbsp;</span><span style="color: #0000BB">menuMainHandle</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,</span><span style="color: #0000BB">menu</span><span style="color: #007700">,</span><span style="color: #0000BB">item</span><span style="color: #007700">){
<br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">item&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">MENU_EXIT</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;{
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">menu_destroy</span><span style="color: #007700">(</span><span style="color: #0000BB">menu</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">data</span><span style="color: #007700">[</span><span style="color: #0000BB">6</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">iName</span><span style="color: #007700">[</span><span style="color: #0000BB">64</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">access</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">callback
<br />&nbsp;&nbsp;&nbsp;&nbsp;menu_item_getinfo</span><span style="color: #007700">(</span><span style="color: #0000BB">menu</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">item</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">access</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">data</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">5</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">63</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">callback</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">key&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">str_to_num</span><span style="color: #007700">(</span><span style="color: #0000BB">data</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;switch(</span><span style="color: #0000BB">key</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;{
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">:
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ReviveMenu</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">:
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ExecuteHamB</span><span style="color: #007700">(</span><span style="color: #0000BB">Ham_CS_RoundRespawn</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Respawnself</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<br />&nbsp;&nbsp;&nbsp;&nbsp;}
<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED
<br /></span><span style="color: #007700">}
<br />
<br />
<br />public&nbsp;</span><span style="color: #0000BB">ReviveMenu</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
<br />{
<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">RevivePlayer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">menu_create&nbsp;</span><span style="color: #007700">(</span><span style="color: #DD0000">"w[SG]r&nbsp;Respawn&nbsp;Player"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"HandleRevive"</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">num</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">[</span><span style="color: #0000BB">32</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">tempid</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTempID&nbsp;</span><span style="color: #007700">[</span><span style="color: #0000BB">10</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">tempname&nbsp;</span><span style="color: #007700">[</span><span style="color: #0000BB">32</span><span style="color: #007700">]
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_players&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">players</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">num</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"b"</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(new&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">num</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">++)
<br />&nbsp;&nbsp;&nbsp;&nbsp;{
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">tempid&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">players&nbsp;</span><span style="color: #007700">[&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">]
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_user_name&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">tempid</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tempname</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">num_to_str&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">tempid</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTempID</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">9</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">menu_additem&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">RevivePlayer</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tempname</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTempID</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;}
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">menu_display&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">RevivePlayer</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED
<br /></span><span style="color: #007700">}
<br />
<br />public&nbsp;</span><span style="color: #0000BB">HandleRevive</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">menu</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">item</span><span style="color: #007700">)
<br />{
<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">item&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">MENU_EXIT</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;{
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">menu_destroy</span><span style="color: #007700">(</span><span style="color: #0000BB">menu</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">data</span><span style="color: #007700">[</span><span style="color: #0000BB">6</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">name</span><span style="color: #007700">[</span><span style="color: #0000BB">64</span><span style="color: #007700">],</span><span style="color: #0000BB">szPlayerName</span><span style="color: #007700">[</span><span style="color: #0000BB">33</span><span style="color: #007700">],</span><span style="color: #0000BB">szName</span><span style="color: #007700">[</span><span style="color: #0000BB">33</span><span style="color: #007700">]
<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">access</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">callback
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;menu_item_getinfo&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">menu</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">item</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">access</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">data</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">5</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">name</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">63</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">callback</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">tempid&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">str_to_num&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">data</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_user_name</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">charsmax</span><span style="color: #007700">(</span><span style="color: #0000BB">szName</span><span style="color: #007700">))
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_user_name</span><span style="color: #007700">(</span><span style="color: #0000BB">tempid</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szPlayerName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">charsmax</span><span style="color: #007700">(</span><span style="color: #0000BB">szPlayerName</span><span style="color: #007700">))
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ColorChat</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">RED</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"^4[SG]&nbsp;^1ADMIN&nbsp;^4%s&nbsp;^1Respawn&nbsp;^4%s&nbsp;^1!!"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szPlayerName</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ExecuteHamB</span><span style="color: #007700">(</span><span style="color: #0000BB">Ham_CS_RoundRespawn</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">tempid</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">menu_destroy</span><span style="color: #007700">(</span><span style="color: #0000BB">menu</span><span style="color: #007700">);
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ReviveMenu</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_CONTINUE
<br /></span><span style="color: #007700">}
<br /></span><span style="color: #0000BB">Respawnself</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
<br />{
<br />&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;</span><span style="color: #0000BB">szName</span><span style="color: #007700">[</span><span style="color: #0000BB">32</span><span style="color: #007700">];
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_user_name</span><span style="color: #007700">(</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">,</span><span style="color: #0000BB">szName&nbsp;</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">33</span><span style="color: #007700">)
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ColorChat</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">GREY</span><span style="color: #007700">,</span><span style="color: #DD0000">"^4[SG]&nbsp;^1ADMIN&nbsp;^4%s&nbsp;^1Respawn&nbsp;HimSelf&nbsp;^3!!"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName</span><span style="color: #007700">)
<br />}&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --></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/sma.gif"alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>

<a href="http://www.amxmodx.o...57"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1419600068">GetSource</a> (revive-menu.sma - 2.7 KB)

</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</div>

<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł




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

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