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.
|
Rezerwacja slota
#1
Napisano 28.02.2009 11:26
amx_reservation 1
Oczywiście mam całego admina (head) i nie działa w ogóle owa rezerwacja, powinno to działać na zasadzie 20/21 (normalnym graczom pisze że "kick - rezerwacja slota" a admin może normalnie wbić). U mnie jest serwer 20/21 i na to 21-miejsce może wbić kto chce i nie raz muszę czekać 15 min. żeby wejść na własny serwer.
Proszę o POMOC
#3
Napisano 28.02.2009 11:48
Po co to mam zmieniać/ustawiać czytałem na innych forach i tego nie trzeba było ustawiać...
Teraz musimy edytować serwer.cfg i dopisujemy Kod: sv_visiblemaxplayers ? ?- Liczba widziany slotów, jak damy 20 bedą widoczne 20 sloty. Każda osoba która posiada flage b, może łączyć się na serwer przez konsole(jeżeli chce korzystać ze swoich przywilejów) np.
#4
Napisano 28.02.2009 11:51
#5
Napisano 28.02.2009 11:53
p.s.
domyślam się że w plugins.ini masz "adminslots.amxx ; slot reservation"
#6
Napisano 28.02.2009 11:55
#7
Napisano 28.02.2009 12:00
Przecież napisałem że mam HeadAdmina ...A admin ma flage B
Te ziomek ale mi pasuje standardowa rezerwacja (inne coś ze slotami robią przekręty lub coś takiego)Jak nie umiesz obsłużyć standardowej rezerwacji to skorzystaj z plugina który to umożliwia
domyślam się że w plugins.ini masz "adminslots.amxx ; slot reservation"
Dopisywałem w plugins.ini "adminslots.amxx"
#8
Napisano 28.02.2009 12:02
; 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 ; Enable to use AMX Mod plugins ;amxmod_compat.amxx ; AMX Mod backwards compatibility layer ; Custom - Add 3rd party plugins here
I masz juz rezerwacje załączoną ...
Tylko Admin w users.ini musi miec flage B
"Nick Admina" "Hasło" "abcdefghijklmnopqrtsu" "a"
#9
Napisano 28.02.2009 12:03
#10
Napisano 28.02.2009 12:08
Luknijcie :
; 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!)
; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer
; TUTAJ dopisuj samodzielnie zainstalowane pluginy:
ptb.amxx
spawnprotection.amxx
adminlisten.amxx
admin_freelook.amxx
admin_spec_esp.amxx
adminslots.amxx
afkbomb.amxx
raty.amxx
admin_check.amxx
atac.amxx
deagsmapmanage230b.amxx
descriptive_fire_in_the_hole.amxx
ad_manager.amxx
bf2rank.amxx
przepros.amxx
admin_chat_colors.amxx
M_Antirusher.amxx
in_game_ads.amxx
map_motd.amxx
hpk_pl.amxx
; +---------------------------------------------------------------------------+
; | W Panelu Administracyjnym mozesz zainstalowac dodatkowe pluginy. -==- |
; | Prosimy aby zainstalowane "recznie" pluginy dopisywac powyzej tej tabeli! |
; +---------------------------------------------------------------------------+
; Pluginy zainstalowane z poziomu panelu:
c4timer.amxx
EDIT :
To w amxx.cfg
// Default value: 0
amx_reservation 1
// If you set this to 1, you can hide slots on your server.
// If server "full" of public slots and slots hidden, you must manually connect with connect console command
//
// Default value: 0
amx_hideslots 0
#11
Napisano 28.02.2009 12:10
; 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!)
; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer
; TUTAJ dopisuj samodzielnie zainstalowane pluginy:
ptb.amxx
spawnprotection.amxx
adminlisten.amxx
admin_freelook.amxx
admin_spec_esp.amxx
adminslots.amxx
afkbomb.amxx
raty.amxx
admin_check.amxx
atac.amxx
deagsmapmanage230b.amxx
descriptive_fire_in_the_hole.amxx
ad_manager.amxx
bf2rank.amxx
przepros.amxx
admin_chat_colors.amxx
M_Antirusher.amxx
in_game_ads.amxx
map_motd.amxx
hpk_pl.amxx
; +---------------------------------------------------------------------------+
; | W Panelu Administracyjnym mozesz zainstalowac dodatkowe pluginy. -==- |
; | Prosimy aby zainstalowane "recznie" pluginy dopisywac powyzej tej tabeli! |
; +---------------------------------------------------------------------------+
; Pluginy zainstalowane z poziomu panelu:
c4timer.amxx
Ten dodany skasuj.
#12
Napisano 28.02.2009 12:13
#13
Napisano 28.02.2009 12:18
Otworze steam , przykładowo zmienie nick na "shhs" przy serwerze 20/21 i mogę normalnie wejsc , a z tego co wiem to nie powinienem wejsć tylko dostać kicka. Przypominam że adminów dopisanych mam na nick + hasło ...
#14
Napisano 28.02.2009 12:18
A pokaż users.ini
#15
Napisano 28.02.2009 12:21
; W tym pliku mozesz dodaawc adminow.A pokaż users.ini
; Aby to zrobic dopisuejsz nowa linijke gdzie w pierwszym cudzyslowiu okreslasz albo steamid albo ip albo nick
; Ponizej znajduja sie wszystkie trzy sposoby:
;
;
; "STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce" ; to jest sposob na steamid
; "123.45.67.89" "" "abcdefghijklmnopqrstu" "de" ; to na ip
; "nick" "haslod" "abcdefghijklmnopqrstu" "a" ; a to na nick + haslo
;
; Pamietaj! Wszystkie komendy za znakiem " ; " nie beda dzialac. Znak ten oznacza tylko komentarz, ktory nie bedzie czytala gra.
; Pamietaj! Jezeli dodajesz admina na nick + haslo musisz to haslo wpisac u siebie na dysku w pliku userconfig.cfg
; W tym celu wchodzisz na dysk domyslnie C, do folderu Program Files -> Valve -> Cstrike
; Tworzysz plik userconfig.cfg i dopisujesz:
;
; setinfo _pw "haslo"
;
; Wiecej o dodawaniu adminow znajdziesz na http://pukawka.pl/manual_cs.html
;
; PAMIETAJ! Przed dodaniem admina nie daje sie znaku srednika ( ; ), znak ten sluzy tylko do komentarzy
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
"aS.squad # STRiTE" "cenzura" "abcdefghijklmnopqrstu" "a"
"aS.squad # Oko" "cenzura" "abcdefghijklmnopqrstu" "a"
"aS.squad # Sash" "cenzura" "abcdefghijklmnopqrstu" "a"
"aS.squad # sNk" "cenzura" "abcdefghijklmnopqrstu" "a"
"aS.squad # KJUPA" "cenzura" "abcdefghijklmnopqrstu" "a"
"aS.squad # cOrn" "cenzura" "abcdefghijklmnopqrstu" "a"
"Jak sie gra w te karabiny?^^" "cenzura" "abcdefghijklmnopqrstu" "a"
".cOrn" "cenzura" "abcdefghijklmnopqrstu" "a"
"[D].aS # BobQ^^" "cenzura" "abcdefghijklmnopqrstu" "a"
"M1y@gI" "cenzura" "abcdefghijklmnopqrstu" "a"
"KJUPA" "cenzura" "abcdefghijklmnopqrstu" "a"
"[L]*MEDIC TEAM*Pogromca" "cenzura" "abcdefghijklmnopqrstu" "a"
"[L]*MEDIC TEAM*Niebieski Smok" "cenzura" "abcdefghijlmnopqrstu" "a"
"r" "operat" "cenzura" "a"
"z" "operat" "cenzura" "a"
"Zajcu" "cenzura" "bcdfiu" "a"
"yGOL" "cenzura" "bcdfiu" "a"
cenzura - oznacza zatajone hasło
#16
Napisano 28.02.2009 12:37
#17
Napisano 28.02.2009 12:41
Macie jeszcze amxx.cfg
// AMX Mod X Configuration File echo Executing AMX Mod X Configuration File // Default access for all non admin players (see users.ini for access details) // // Default value: "z" amx_default_access "z" // Name of setinfo which should store a password on a client (you should change this) // Note: Always prefix the field with an underscore (aka: "_") // (Example: setinfo _pw "password") // // Default value: "_pw" amx_password_field "_pw" // Mode of logging to a server // 0 - disable logging, players won't be checked (and access won't be set) // 1 - normal mode which obey flags set in accounts // 2 - kick all players not on list // // Default value: 1 amx_mode 1 // Show admins activity // 0 - disabled // 1 - show without admin name // 2 - show with name // // Default value: 2 amx_show_activity 2 // Frequency in seconds and text of scrolling message // // Default value: "WITAMY NA SERWERZE AS.SQUAD" 600 amx_scrollmsg "WITAMY NA SERWERZE AS.SQUAD" 600 // Center typed colored messages (last parameter is a color in RRRGGGBBB format) // // Default values: "Welcome to %hostname%" "000255100" // "This server is using AMX ModXnVisit http://www.amxmodx.org" "000100255" amx_imessage "WITAMY NA SERWERZE AS.SQUAD" "000255100" amx_imessage "WITAMY NA SERWERZE AS.SQUADn ZAPRASZAMY NA WWW.AS-CS.pln ORAZ NA WWW.MEDICTEAM.ENTERPOL.PL" "000100255" // Frequency in seconds of colored messages // // Default value: 180 amx_freq_imessage 180 // Ban times for the main ban menu (amx_banmenu) // Use 0 for permanent ban // Default values: 0 5 10 15 30 45 60 amx_plmenu_bantimes 0 5 10 15 30 45 60 // Slap damage amounts for the main slap menu (amx_slapmenu) // Slay is automaticall inserted as the first option // Default values: 0 1 5 amx_plmenu_slapdmg 0 1 5 // Set in seconds how fast players can chat (chat-flood protection) // // Default value: 0.75 amx_flood_time 0.75 // Amount of slots to reserve. // // Default value: 0 amx_reservation 1 // If you set this to 1, you can hide slots on your server. // If server "full" of public slots and slots hidden, you must manually connect with connect console command // // Default value: 0 amx_hideslots 0 // Displaying of time remaining // a - display white text on bottom // b - use voice // c - don't add "remaining" (only in voice) // d - don't add "hours/minutes/seconds" (only in voice) // e - show/speak if current time is less than this set in parameter // // Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11" amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11" // Announce "say thetime" and "say timeleft" with voice, set to 0 to disable. // // Default value: 1 amx_time_voice 1 // Minimum delay in seconds between two voting sessions // // Default value: 10 amx_vote_delay 10 // How long voting session goes on // // Default value: 10 amx_vote_time 10 // Display who votes for what option, set to 0 to disable, 1 to enable. // // Default value: 1 amx_vote_answers 1 // Some ratios for voting success // Default value: 0.40 amx_votekick_ratio 0.40 // Default value: 0.40 amx_voteban_ratio 0.40 // Default value: 0.40 amx_votemap_ratio 0.40 // Default value: 0.02 amx_vote_ratio 0.02 // Max. time to which map can be extended // // Default value: 90 amx_extendmap_max 90 // Step for each extending // // Default value: 15 amx_extendmap_step 15 // If you set this to 0, clients cannot chose their language, instead they use // whatever language the server is configured to use. // // Default value: 1 amx_client_languages 1 // Plugin Debug mode // 0 - No debugging (garbage line numbers) // 1 - Plugins with "debug" option in plugins.ini are put into debug mode // 2 - All plugins are put in debug mode // Note - debug mode will affect JIT performance // // Default value: 1 amx_debug 1 // Plugin MultiLingual Debug // To debug a language put its 2 letter code between quotes ("en", "de", etc) // "" means disabled // // Default value: "" amx_mldebug "" // // Beginning of Counter-Strike package specific configurations. // // Rank mode // 0 - by nick // 1 - by authid // - nie dziala dla non-steam // 2 - by ip // // Default value: 1 csstats_rank 0 // Max size of the stats file // // Default value: 3500 csstats_maxsize 3500 // Whether or not to rank bots with csstats - set to 1 to rank bots, 0 otherwise. // // Default value: 0 csstats_rankbots 0 // Duration of HUD-statistics // // Default value: 12.0 amx_statsx_duration 12.0 // HUD-statistics display limit relative round freeze end // Negative time will clear the HUD-statstics before the round freeze time has ended // // Default value: -2.0 amx_statsx_freeze -2.0 //Plugin włączony(1)/wyłączony(0) bf2_active 1 // Włącz system odznak(1)/wyłącz system odznak(0) bf2_badges 0 // Jak gracz ma odznake snajpera to ma dostawać za darmo AWP cz SCOUT'a? (0 - scout/1 - awp) bf2_awp 0 // Wielkość jaka ma być do następnej rangi. (z 0.1 to jest: 15 trzeba zabić aby mieć range 1, 20 000 zabić aby być w top randze) bf2_xpmultiplier 0.1 // Czas w jakim mają się wyświetlać ikony nad graczami (info o randze) jak na nich nacelujesz bf2_icon_time 1.5 // TYCZY SIĘ PLUGINU CS FLAGS Ile punktów za przejęcie flagi bf2_flag_kills 2 // TYCZY SIĘ PLUGINU CS FLAGS Ile punktów za wygraną runde bf2_flag_round_kills 0 // TYCZY SIĘ PLUGINU CS FLAGS Ile punktów za wygrany mecz bf2_flag_match_kills 0 // TYCZY SIĘ PLUGINU CS FLAGS Minimalna liczba odtworzeń przed tym jak punkty zostaną przyznane (szczerze to chyba źle przetłumaczyłem. Jak ktoś się zna to proszę aby napisał poprawnie. Oryginalne: Min number of plays before above points get awarded) bf2_flag_min_players // Pliki pomocy // Tutaj automatycznie jest http://amxx.pl/bf2/bf2webdocs/ czyli jest na hostingu AMXX.pl i będzie na amen <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/biggrin.gif' class='bbc_emoticon' alt=':D' /> // Jak chcesz możesz dać ścieżkę do swojej strony gdzie są umieszczone pliki pomocy. bf2_help_url "http://amxx.pl/bf2/bf2webdocs/" // Włącz(1)/Wyłącz(0) moce dla odznak bf2_badgepowers 1 bf2_hud_options "abcde" //a Wyświetl Życia/Pancerz/Broń jak nacelujesz na swojego z teamu //b Wyświetl Range jak nacelujesz na swojego z teamu //c Wyświetl Range jak nacelujesz na wroga //d Nie wyświetlaj informacji jak wróg jest niewidzialny (dana odznaka umożliwia niewidzialność) //e Wyświetl graficzną Rangę nad głowami graczy // Konfiguracja antyrusha amx_antirusher_action 7 // 0 - upomnienie słowne // 1 - obniżanie hp 10-krotności wartości w ciągu 1 sekundy [polecam liczbę miedzy 2-10) // 2 - zabija każdego w strefie // 3 - kikuje rashera // 4 - banuje rashera // 5 - spowalnia rashera // 6 - Oślepia gracza kolorowymi flashami - ok 2-3% widoczności zostaje // 7 - pole siłowe (blokuje dostęp do strefy) // 8 - otwarcie ognia w strefie rashu zabija // 9 - Utrudnia w niezwykle skuteczny sposób celowanie // 10 - Zabiera rasherowi kasę a w razie jej braku życie amx_antirusher_cash 50 // ilość kasy (x10) zabieranej w ciągu 1 sekundy (domyślnie 50) amx_antirusher_cash_end 1 // 0 to gdy kończy się kasa to biega się bez konsekwencji, liczby od 1-5 to zabiera ci hp zamiast kasy, gdy “1” to 1/25 kasy co powinno wziąć, a gdy “5” to zabiera tyle hp co kasy powinno brać. amx_antirusher_sound 1 // 0 - nie puszcza dzwięku w razie rashu 1 - puszcza dzwięk w razie rashu (domyślne ustawienie) amx_antirusher_sound_mode 1 // ile osób słyszy dźwięk rashu 0 - tylko rasher (domyślne), 1 - Cały serwer amx_antirusher 1 // czy plugin ma być włączony lub nie (domyślnie 1) amx_antirusher_slap 5 // zabiera 10x hp w ciągu 1 sekundy (patrz wyzej) amx_antirusher_time 45 // jak długo nie wolno rashowac amx_antirusher_immunity 0 // czy immunitet chroni przed karami (domyslnie 0) amx_antirusher_warn 1 // czy granice rashu maja byc widoczne dla graczy (domyslnie 1) amx_antirusher_freq 0.1 // czestotliwosc sprawdzania czy ktos rashuje (domyslnie 0.1) amx_antirusher_zasady 1 // czy komenda /zasadymapy ma dzialac (domyslnie 1)
#18
Napisano 28.02.2009 12:42
#19
Napisano 28.02.2009 12:48
Już mnie głowa od tego boli , oczywiście dałem resa z panelu sterowania ...amxx.cfg nie potrzebne, zrób resa serwer w panelu pukwaki..
* Przywileje ustawione ] connect 193.33.177.19:27036 Connecting to 193.33.177.19:27036... Server is full.
Nie mam pojęcia co zrobić z tym :
Panowie POMOCY !
Connecting to 193.33.177.19:27036... Server is ful
Zmieniam nick nie na admina - i też mogę normalnie wejść tak jak inni gracze, a powinno mnie kickać przy serwerze 20/21 ... d*pa :
[ Dodano: 28-02-2009, 12:56 ]
Macie jeszcze : plik: /cstrike/addons/amxmodx/scripting/adminslots.sma - może z Nim coś jest nie tak
/* AMX Mod X * Slots Reservation Plugin * * by the AMX Mod X Development Team * originally developed by OLO * * This file is part of AMX Mod X. * * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * In addition, as a special exception, the author gives permission to * link the code of this program with the Half-Life Game Engine ("HL * Engine") and Modified Game Libraries ("MODs") developed by Valve, * L.L.C ("Valve"). You must obey the GNU General Public License in all * respects for all of the code used other than the HL Engine and MODs * from Valve. If you modify this file, you may extend this exception * to your version of the file, but you are not obligated to do so. If * you do not wish to do so, delete this exception statement from your * version. */ #include <amxmodx> #include <amxmisc> new g_cmdLoopback[16] new g_ResPtr new g_HidePtr public plugin_init() { register_plugin("Slots Reservation", AMXX_VERSION_STR, "AMXX Dev Team") register_dictionary("adminslots.txt") register_dictionary("common.txt") g_ResPtr = register_cvar("amx_reservation", "0") g_HidePtr = register_cvar("amx_hideslots", "0") format(g_cmdLoopback, 15, "amxres%c%c%c%c", random_num('A', 'Z'), random_num('A', 'Z'), random_num('A', 'Z'), random_num('A', 'Z')) register_clcmd(g_cmdLoopback, "ackSignal") } public plugin_cfg() { set_task(3.0, "MapLoaded") } public MapLoaded() { if (!get_pcvar_num(g_HidePtr)) return new maxplayers = get_maxplayers() new players = get_playersnum(1) new limit = maxplayers - get_pcvar_num(g_ResPtr) setVisibleSlots(players, maxplayers, limit) } public ackSignal(id) { new lReason[64] format(lReason, 63, "%L", id, "DROPPED_RES") server_cmd("kick #%d ^"%s^"", get_user_userid(id), lReason) return PLUGIN_HANDLED } public client_authorized(id) { new maxplayers = get_maxplayers() new players = get_playersnum(1) new limit = maxplayers - get_pcvar_num(g_ResPtr) if (access(id, ADMIN_RESERVATION) || (players <= limit)) { if (get_pcvar_num(g_HidePtr) == 1) setVisibleSlots(players, maxplayers, limit) return PLUGIN_CONTINUE } client_cmd(id, "%s", g_cmdLoopback) return PLUGIN_HANDLED } public client_disconnect(id) { if (!get_pcvar_num(g_HidePtr)) return PLUGIN_CONTINUE new maxplayers = get_maxplayers() setVisibleSlots(get_playersnum(1) - 1, maxplayers, maxplayers - get_pcvar_num(g_ResPtr)) return PLUGIN_CONTINUE } setVisibleSlots(players, maxplayers, limit) { new num = players + 1 if (players == maxplayers) num = maxplayers else if (players < limit) num = limit set_cvar_num("sv_visiblemaxplayers", num) }
[ Dodano: 28-02-2009, 14:18 ]
Skoro nikt nie ma pomysłu o co tu właściwie chodzi to może macie gdzieś plugin z "rezerwacja" ?
Chodzi mi dokładnie o taki : nie ukrywa slota (w moim przypadku 21 slotów) i gdy jest serwer 20/21 to na to ostatnie miejsce może wejść tylko admin / u innych wyskakuje info (kicked - rezerwacja slota) ...
Pozdrawiam
[ Dodano: 28-02-2009, 16:51 ]
Z tego co zauważyłem :
Innym graczom, którzy nie są adminami wyskakuje to gdy jest serwer 20/21
Connecting to 193.33.177.19:27036...
Connection accepted by 193.33.177.19:27036
* Przywileje ustawio
A nie powinno być tak , tylko pojawiać się "kicked - zostałeś wyrzucony z powodu rezerwacji slotów" a z jakiej paki mają jakieś przywileje ?
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych