Sprawdź.
hud.sma 2,56 KB 154 Ilość pobrań
hud.amxx
To równanie zostało stworzone przy pomocy kodu LaTeX:
Edytor LaTeX online: CodeCogs.com/latex/eqneditor.php
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.
|
Wiruspl nie posiada znajomych
Napisane przez dredek
w 04.05.2020 15:35
W obecnych czasach najbardziej sprawdzony i jedyny sposób na rozwinięcie serwera to zakup reklam na cssetti.pl.
Jeśli chcesz szybko rozwinąć serwer to polecam zainwestować w stawkę około 50 zł za dzień + groupboost dla szybkiego uzyskania graczy na serwerze, imo myślę, że lepszym rozwiązaniem byłoby dać mniejszą stawkę na master booscie i poczekać aż serwer uzyska graczy. To wszystko zalezy też jaki masz mod serwera.
Dla lepszego efektu możesz także skumulować efekt boosta kupując reklamę na plsetti.pl
Drugiego serwera nie ma sensu stawiać jeśli ten pierwszy nie jest rozkręcony i nie zarabia sam na siebie. Wydałbys tylko kasę w błoto
Napisane przez Rivit
w 24.04.2020 00:12
testuj.
jak usuwasz parametry z hud to patrz co robisz, nie wystarczy usunac w wiadomosci, trzeba tez usunac z parametrow, ktorymi wiadomosc jest formatowana
#include <amxmodx> #include <amxmisc> #include <csx> #include <fakemeta> #include <cstrike> #include <fun> #define PLUGIN "Ranga" #define VERSION "1.1" #define AUTHOR "spiderman & O'Zone" #define TASK 666 #define FLAGA ADMIN_LEVEL_H public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) } public client_connect(id) { if(is_user_bot(id)) return new param[1] param[0] = id set_task(1.0,"rank",TASK+id,param,1,"b") } public client_disconnect(id) if(task_exists(TASK+id)) remove_task(TASK+id) public rank(param[]) { new id = param[0] new stats[8] new body[8] static stats1[8], body1[8], rankpos get_user_stats(id, stats, body) rankpos = get_user_stats(id, stats1, body1); new ranga[30] if ( stats[0] >= 0 && stats[0] <= 29) format(ranga,29,"Silver I") else if ( stats[0] >= 30 && stats[0] <= 59) format(ranga,29,"Silver II") else if ( stats[0] >= 60 && stats[0] <= 119) format(ranga,29,"Silver III") else if ( stats[0] >= 120 && stats[0] <= 209) format(ranga,29,"Silver IV") else if ( stats[0] >= 210 && stats[0] <= 324) format(ranga,29,"Silver Elite") else if ( stats[0] >= 325 && stats[0] <= 499) format(ranga,29,"Silver Elite Master") else if ( stats[0] >= 500 && stats[0] <= 729) format(ranga,29,"Gold I") else if ( stats[0] >= 730 && stats[0] <= 999) format(ranga,29,"Gold II") else if ( stats[0] >= 100 && stats[0] <= 1399) format(ranga,29,"Gold III") else if ( stats[0] >= 1400 && stats[0] <= 1849) format(ranga,29,"Gold Nova Master") else if ( stats[0] >= 1850 && stats[0] <= 2299) format(ranga,29,"Master Guardian I") else if ( stats[0] >= 2300 && stats[0] <= 2899) format(ranga,29,"Master Guardian II") else if ( stats[0] >= 2900 && stats[0] <= 3549) format(ranga,29,"Master Guardian Elite") else if ( stats[0] >= 4200 && stats[0] <= 4999) format(ranga,29,"Distinguished Master Guardia") else if ( stats[0] >= 5000 && stats[0] <= 5899) format(ranga,29,"Legendary Eagle") else if ( stats[0] >= 5900 && stats[0] <= 6899) format(ranga,29,"Legendary Eagle Master") else if ( stats[0] >= 6900 && stats[0] <= 7999) format(ranga,29,"Supreme Master First Class") else if ( stats[0] >= 10000 && stats[0] <= 12000) format(ranga,29,"THE GLOBAL ELITE") new Time[9] get_time("%H:%M:%S",Time,8) set_hudmessage(255, 255, 255, 0.0, 0.17, 0, 6.0, 12.0) show_hudmessage(id, "[Serwer:ONLY DD2]^n[Godzina:%s][Ranga:%s][Zabojstw:%d][Ranking:%d][V.I.P:%s]" ,Time,ranga,stats[0],rankpos, get_user_flags(id) & ADMIN_LEVEL_H ? "Tak" : "Nie") }