←  Problemy z pluginami

AMXX.pl: Support AMX Mod X i SourceMod

»

Amxbans - Zmiana prefixu

Zablokowany

  • +
  • -
Pro Noob - zdjęcie Pro Noob 12.08.2009

Siema,
Wie ktoś może co trzeba zrobić, żeby serwer przy łączeniu z bazą danych nie szukał plików
# amx_admins_servers
# amx_amxadmins
# amx_banhistory
# amx_banreasons
# amx_bans
# amx_levels
# amx_logs
# amx_serverinfo
# amx_webadmins

tylko np

# tp_admins_servers
# tp_amxadmins
# tp_banhistory
# tp_banreasons
# tp_bans
# tp_levels
# tp_logs
# tp_serverinfo
# tp_webadmins

chodzi mi o zmiane prefixu...

Bardzo proszę o pomoc
Odpowiedz

  • +
  • -
mgr inż. Pavulon - zdjęcie mgr inż. Pavulon 12.08.2009

// Specify tablenames here
#define tbl_reasons "amx_banreasons"
#define tbl_svrnfo "amx_serverinfo"
#define tbl_bans "amx_bans"
#define tbl_banhist "amx_banhistory"
w pliku global_vars.inl

natomiast tabela amx_amxadmins jest wpisana na stałe w pliku admin_amxbans.sma - znajdź tam i edytuj jeżeli korzystasz z adminów amxbans.


p.s.
oczywiście ponowna kompilacja wymagana.
Odpowiedz
Zablokowany