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

Advanced ResetScore 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:7179
  • Lokalizacja:AMXX.PL
Offline

Napisano 05.10.2014 22:06

<!-- BEGIN TEMPLATE: postbit_external -->
<div>Welcome.. :D<br /><br />This plugin for if you want to reset your score its not only /rs and you will reset your score.. you think its like the old version? nope its not.. here is screenshotes for my plugin<br /><br />First screenshot: <a href="http://i62.tinypic.com/2e0k3kw.jpg" target="_blank">http://i62.tinypic.c...k3kw.jpg</a><br /><br />Second screenshot: <a href="http://i62.tinypic.com/25kj3ex.jpg" target="_blank">http://i62.tinypic.c...j3ex.jpg</a><br /><br />Good luck :)<br />/* <br /><br /> Plugin: Advanced Resetscore<br /> Version: 1.0.0<br /> Author: happy_2012<br /> Website: <a href="http://www.zombies4ever.tk" target="_blank">www.zombies4ever.tk</a><br /><br /> */<br /><br />#include &lt;amxmodx&gt;<br />#include &lt;amxmisc&gt;<br />#include &lt;cstrike&gt;<br />#include &lt;fun&gt;<br /><br />#define PLUGIN &quot;Advanced Resetscore&quot;<br />#define VERSION &quot;1.0.0&quot;<br />#define AUTHOR &quot;happy_2012&quot;<br /><br />#define rs_adtime 120.0<br /><br />new pcvar_Advertise<br />new pcvar_Display<br /><br />public plugin_init() {<br /> <br /> register_plugin(&quot;Advanced Resetscore&quot;, &quot;1.0.0&quot;, &quot;Troopz&quot;)<br /> <br /> // General chat resetscore commands<br /> register_clcmd(&quot;say /resetscore&quot;, &quot;reset_score&quot;)<br /> register_clcmd(&quot;say resetscore&quot;, &quot;reset_score&quot;)<br /> register_clcmd(&quot;say /restartscore&quot;, &quot;reset_score&quot;)<br /> register_clcmd(&quot;say restartscore&quot;, &quot;reset_score&quot;)<br /> register_clcmd(&quot;say /rs&quot;, &quot;reset_score&quot;)<br /> register_clcmd(&quot;say rs&quot;, &quot;reset_score&quot;)<br /> <br /> // Team chat resetscore commands<br /> register_clcmd(&quot;say_team /resetscore&quot;, &quot;reset_score&quot;)<br /> register_clcmd(&quot;say_team resetscore&quot;, &quot;reset_score&quot;)<br /> register_clcmd(&quot;say_team /restartscore&quot;, &quot;reset_score&quot;)<br /> register_clcmd(&quot;say_team restartscore&quot;, &quot;reset_score&quot;)<br /> register_clcmd(&quot;say_team /rs&quot;, &quot;reset_score&quot;)<br /> register_clcmd(&quot;say_team rs&quot;, &quot;reset_score&quot;)<br /><br /> <br /> pcvar_Advertise = register_cvar(&quot;rs_advertise&quot;, &quot;1&quot;)<br /> pcvar_Display = register_cvar(&quot;rs_display&quot;, &quot;1&quot;)<br /> <br /> if(get_cvar_num(&quot;rs_advertise&quot;) == 1)<br /> {<br /> set_task(rs_adtime, &quot;advertise&quot;, _, _, _, &quot;b&quot;)<br /> }<br /> <br />}<br /><br />public reset_score(id) {<br /> <br /> cs_set_user_deaths(id, 0)<br /> set_user_frags(id, 0)<br /> cs_set_user_deaths(id, 0)<br /> set_user_frags(id, 0)<br /> <br /> if(get_pcvar_num(pcvar_Display) == 1)<br /> {<br /> color_saytext(id, &quot;^x01[^x04Server Name^x01] You have just reseted your score&quot;)<br /> }<br />}<br /><br />public advertise() {<br /> <br /> set_hudmessage(255, 0, 0, -1.0, 0.20, 0, 0.2, 12.0)<br /> show_hudmessage(0, &quot;This server is running Advanced Resetscore^n,Visit www.sbz-multimod.webs.com&quot;)<br /> <br />}<br /><br />public client_putinserver(id){<br /> <br /> if(get_pcvar_num(pcvar_Advertise) == 1)<br /> {<br /> set_task(10.0, &quot;connectmessage&quot;, id, _, _, &quot;a&quot;, 1)<br /> }<br /> <br />}<br /><br />public connectmessage(id)<br />{<br /> if(is_user_connected(id))<br /> {<br /> color_saytext(id, &quot;^x01[^x04Server Name^x01] ^x01Say ^x04/rs ^x01to reset your score&quot;)<br /> }<br />}<br /><br />color_saytext(player, const message[], any:...){<br /> <br /> new text[301]<br /> format(text, 300, &quot;%s&quot;, message)<br /><br /> new dest<br /> if (player) dest = MSG_ONE<br /> else dest = MSG_ALL<br /> <br /> message_begin(dest, get_user_msgid(&quot;SayText&quot;), {0,0,0}, player)<br /> write_byte(1)<br /> write_string(check_text(text))<br /> return message_end()<br /> <br />}<br /><br />check_text(text1[]){<br /> <br /> new text[301]<br /> format(text, 300, &quot;%s&quot;, text1)<br /> replace(text, 300, &quot;!g&quot;, &quot;^x04&quot;)<br /> replace(text, 300, &quot;!t&quot;, &quot;^x03&quot;)<br /> replace(text, 300, &quot;!y&quot;, &quot;^x01&quot;)<br /> return text<br /> <br />}</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