Skocz do zawartości

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

Nie zapisuje się ranga "Ranghud"


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
6 odpowiedzi w tym temacie

#1 WitKu

    Zaawansowany

  • Użytkownik

Reputacja: 3
Nowy

  • Postów:83
Offline

Napisano 16.01.2023 20:52

Witam serdecznie, jak w temacie. Brak zapisu rangi jaką zdobyłem.

Plugin

 

#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_disconnected(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,"Podstawowa")
else if ( stats[0] >= 30 && stats[0] <= 59)
format(ranga,29,"Podstawowa I")
else if ( stats[0] >= 60 && stats[0] <= 119)
format(ranga,29,"Podstawowa II")
else if ( stats[0] >= 120 && stats[0] <= 209)
format(ranga,29,"Podstawowa III")
else if ( stats[0] >= 210 && stats[0] <= 324)
format(ranga,29,"Sierzant I")
else if ( stats[0] >= 325 && stats[0] <= 499)
format(ranga,29,"Sierzant II")
else if ( stats[0] >= 500 && stats[0] <= 729)
format(ranga,29,"Sierzant III")
else if ( stats[0] >= 730 && stats[0] <= 999)
format(ranga,29,"Oficer")
else if ( stats[0] >= 1000 && stats[0] <= 1399)
format(ranga,29,"Brazowy Gracz I")
else if ( stats[0] >= 1400 && stats[0] <= 1849)
format(ranga,29,"Brazowy Gracz II")
else if ( stats[0] >= 1850 && stats[0] <= 2299)
format(ranga,29,"Brazowy Gracz III")
else if ( stats[0] >= 2300 && stats[0] <= 2899)
format(ranga,29,"Srebrny Gracz I")
else if ( stats[0] >= 2900 && stats[0] <= 3549)
format(ranga,29,"Srebrny Gracz II")
else if ( stats[0] >= 3550 && stats[0] <= 4999)
format(ranga,29,"Srebrny Gracz III")
else if ( stats[0] >= 5000 && stats[0] <= 5899)
format(ranga,29,"Zloty Gracz I")
else if ( stats[0] >= 5900 && stats[0] <= 6899)
format(ranga,29,"Zloty Gracz II")
else if ( stats[0] >= 6900 && stats[0] <= 7999)
format(ranga,29,"Zloty Gracz III")
else if ( stats[0] >= 8000 && stats[0] <= 12000)
format(ranga,29,"ELITA ZLOTYCH GRACZY")
 
 
new Time[9]
 
get_time("%H:%M:%S",Time,8)
 
set_hudmessage(0, 200, 0, 0.0, 0.17, 0, 6.0, 12.0)
show_hudmessage(id, 
"*[Serwer:ONLY DD_2]^n*[Godzina:%s]^n*[Ranga:%s]^n*[Zabojstw:%d]^n*[Ranking:%d]^n*[V.I.P:%s]"
,Time,ranga,stats[0],rankpos, get_user_flags(id) & ADMIN_LEVEL_H ? "Tak" : "Nie")
}   
 

Modules:

 

fun

engine
fakemeta
;geoip
;sockets
;regex
nvault
cstrike
csx
hamsandwich
 

 


  • +
  • -
  • 0

#2 N1K1Cz

    Zaawansowany

  • Użytkownik

Reputacja: 44
Pomocny

  • Postów:138
  • GG:
  • Steam:steam
  • Imię:/\^-^/\
Offline

Napisano 16.01.2023 21:11

Co znaczy „ranga się nie zapisuje”, nie masz tu zapisu nVault/sql. Jest to zwykły plugin na rangi, który ustawia ci rangę zależnie od tego ile masz killi (kille pobierane są z pluginu statsx). Także jeżeli po zmianie mapy nie zapisują ci się kille, to masz najprawdopodobniej błędnie skonfigurowany plugin od statsx
  • +
  • -
  • 0

Potrzebujesz pomocy z serwerem/paczką? Napisz do mnie! Chętnie pomogę  ^D^ 

- Discord: N1K1Cz#0751

- GG: 70679564

- Steam: https://steamcommunity.com/id/N1K1Cz/

 


#3 DenY

    Życzliwy

  • Użytkownik

Reputacja: 3
Nowy

  • Postów:39
  • Imię:Daniel
  • Lokalizacja:Opolskie
Offline

Napisano 18.01.2023 16:32

Pookaż plugins.ini

 


  • +
  • -
  • 0

#4 WitKu

    Zaawansowany

  • Autor tematu
  • Użytkownik

Reputacja: 3
Nowy

  • Postów:83
Offline

Napisano 18.01.2023 19:30

 

; AMX Mod X plugins

 
; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
 
; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
;adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management
 
; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin
 
; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
;scrollmsg.amxx ; displays a scrolling message
;imessage.amxx ; displays information messages
adminvote.amxx ; vote commands
 
; Map related
nextmap.amxx ; displays next map in mapcycle
;mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map
 
; Configuration
;pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands
 
; Counter-Strike
restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
;miscstats.amxx ; bunch of events announcement for Counter-Strike
stats_logging.amxx ; weapons stats logging (CSX Module required!)
 
 
; Custom - Add 3rd party plugins here
 

 


  • +
  • -
  • 0

#5 N1K1Cz

    Zaawansowany

  • Użytkownik

Reputacja: 44
Pomocny

  • Postów:138
  • GG:
  • Steam:steam
  • Imię:/\^-^/\
Offline

Napisano 19.01.2023 15:17

Nie widzę, abyś miał dopisany ten plugin w plugins.ini. (chyba, że jest w innym pliku)


  • +
  • -
  • 0

Potrzebujesz pomocy z serwerem/paczką? Napisz do mnie! Chętnie pomogę  ^D^ 

- Discord: N1K1Cz#0751

- GG: 70679564

- Steam: https://steamcommunity.com/id/N1K1Cz/

 


#6 WitKu

    Zaawansowany

  • Autor tematu
  • Użytkownik

Reputacja: 3
Nowy

  • Postów:83
Offline

Napisano 19.01.2023 18:40

 

 

; AMX Mod X plugins

 
; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
 
; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
;adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management
 
; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin
 
; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
;scrollmsg.amxx ; displays a scrolling message
;imessage.amxx ; displays information messages
adminvote.amxx ; vote commands
 
; Map related
nextmap.amxx ; displays next map in mapcycle
;mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map
 
; Configuration
;pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands
 
; Counter-Strike
restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
;miscstats.amxx ; bunch of events announcement for Counter-Strike
stats_logging.amxx ; weapons stats logging (CSX Module required!)
 
 
; Custom - Add 3rd party plugins here
 

 

; AMX Mod X plugins

 
; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
 
; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
;adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management
 
; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin
 
; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
;scrollmsg.amxx ; displays a scrolling message
;imessage.amxx ; displays information messages
adminvote.amxx ; vote commands
 
; Map related
nextmap.amxx ; displays next map in mapcycle
;mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map
 
; Configuration
;pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands
 
; Counter-Strike
restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
;miscstats.amxx ; bunch of events announcement for Counter-Strike
stats_logging.amxx ; weapons stats logging (CSX Module required!)
 
 
; Custom - Add 3rd party plugins here
 
menu_broni.amxx
 
ad_manager_array.amxx
 
Allow_round_finish.amxx
 
c4.amxx
 
ptb.amxx
 
resetscore.amxx
 
mute_menu.amxx
 
przenikanie.amxx
 
iplogs.amxx
 
rankhud.amxx
 
descriptive_fire_in_the_hole.amxx
 
polski_cs.amxx
 
;blokada_menu.amxx
 
;czat_log.amxx
 
;KillAsistEditCSmiLeFaCe.amxx
 
;ciemnechmury.amxx

 

Proooszę bardzo


  • +
  • -
  • 0

#7 PANDA_2zl

    Guru

  • Power User

Reputacja: 173
Profesjonalista

  • Postów:716
  • Imię:Michał
  • Lokalizacja:Kraków
Offline

Napisano 19.01.2023 18:50

Obserwuje ten temat od początku i nie wiem do czego dąży, rangi masz ustalane po statystykach gracza branych z domyślnego rankingu jakim jest statsx, może masz za mały rozmiar pliku csstats ustawiony w amxx.cfg
  • +
  • -
  • 0




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

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