Fixed duplicate keys

This commit is contained in:
David Anderson 2004-08-22 04:25:55 +00:00
parent 3a78aff06d
commit a9cb464a33
10 changed files with 20 additions and 102 deletions

View File

@ -37,9 +37,15 @@
#include <amxmodx> #include <amxmodx>
#include <amxmisc> #include <amxmisc>
<<<<<<< admin.sma
#include <amxconst>
#include <string>
#include <file>
=======
#if defined USING_SQL #if defined USING_SQL
#include <dbi> #include <dbi>
#endif #endif
>>>>>>> 1.25
#define MAX_ADMINS 64 #define MAX_ADMINS 64

View File

@ -52,6 +52,7 @@ public plugin_init() {
register_plugin("Admin Votes",AMXX_VERSION_STR,"AMXX Dev Team") register_plugin("Admin Votes",AMXX_VERSION_STR,"AMXX Dev Team")
register_dictionary("adminvote.txt") register_dictionary("adminvote.txt")
register_dictionary("common.txt") register_dictionary("common.txt")
register_dictionary("mapsmenu.txt")
register_menucmd(register_menuid("Change map to "),MENU_KEY_1|MENU_KEY_2,"voteCount") register_menucmd(register_menuid("Change map to "),MENU_KEY_1|MENU_KEY_2,"voteCount")
register_menucmd(register_menuid("Choose map: "),MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4,"voteCount") register_menucmd(register_menuid("Choose map: "),MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4,"voteCount")
register_menucmd(register_menuid("Kick "),MENU_KEY_1|MENU_KEY_2,"voteCount") register_menucmd(register_menuid("Kick "),MENU_KEY_1|MENU_KEY_2,"voteCount")
@ -409,4 +410,4 @@ public cmdVoteKickBan(id,level,cid) {
console_print(id, "%L", id, "VOTING_STARTED") console_print(id, "%L", id, "VOTING_STARTED")
g_voteCount = {0,0,0,0} g_voteCount = {0,0,0,0}
return PLUGIN_HANDLED return PLUGIN_HANDLED
} }

View File

@ -21,7 +21,6 @@ GIVEN_NOT_VALID = Given %s not valid
MAP_IS = map is MAP_IS = map is
MAPS_ARE = maps are MAPS_ARE = maps are
CHOOSE_MAP = Choose map CHOOSE_MAP = Choose map
CHANGE_MAP_TO = Change map to
ADMIN_VOTE_MAP_1 = %s: vote map(s) ADMIN_VOTE_MAP_1 = %s: vote map(s)
ADMIN_VOTE_MAP_2 = %s %s: vote map(s) ADMIN_VOTE_MAP_2 = %s %s: vote map(s)
VOTING_STARTED = Voting has started... VOTING_STARTED = Voting has started...
@ -56,7 +55,6 @@ GIVEN_NOT_VALID = Dado %s invalido
MAP_IS = o mapa e MAP_IS = o mapa e
MAPS_ARE = os mapas sao MAPS_ARE = os mapas sao
CHOOSE_MAP = Escolha o mapa CHOOSE_MAP = Escolha o mapa
CHANGE_MAP_TO = Mudar o mapa para
ADMIN_VOTE_MAP_1 = %s: votacao de mapa(s) ADMIN_VOTE_MAP_1 = %s: votacao de mapa(s)
ADMIN_VOTE_MAP_2 = %s %s: votacao de mapa(s) ADMIN_VOTE_MAP_2 = %s %s: votacao de mapa(s)
VOTING_STARTED = Votacao iniciada... VOTING_STARTED = Votacao iniciada...
@ -91,7 +89,6 @@ GIVEN_NOT_VALID = Givet %s ikke gyldig
MAP_IS = banen er MAP_IS = banen er
MAPS_ARE = banerne er MAPS_ARE = banerne er
CHOOSE_MAP = vaelg bane CHOOSE_MAP = vaelg bane
CHANGE_MAP_TO = skift bane til
ADMIN_VOTE_MAP_1 = %s: afstemning bane(r) ADMIN_VOTE_MAP_1 = %s: afstemning bane(r)
ADMIN_VOTE_MAP_2 = %s %s: afstemning bane(r) ADMIN_VOTE_MAP_2 = %s %s: afstemning bane(r)
VOTING_STARTED = Afstemning er startet... VOTING_STARTED = Afstemning er startet...
@ -126,7 +123,6 @@ GIVEN_NOT_VALID = %s ist unzulaessig
MAP_IS = Map ist MAP_IS = Map ist
MAPS_ARE = Maps sind MAPS_ARE = Maps sind
CHOOSE_MAP = Waehle Map CHOOSE_MAP = Waehle Map
CHANGE_MAP_TO = Wechsle zur Map
ADMIN_VOTE_MAP_1 = %s: Abstimmung fuer Map(s) gestartet ADMIN_VOTE_MAP_1 = %s: Abstimmung fuer Map(s) gestartet
ADMIN_VOTE_MAP_2 = %s %s: Abstimmung fuer Map(s) gestartet ADMIN_VOTE_MAP_2 = %s %s: Abstimmung fuer Map(s) gestartet
VOTING_STARTED = Abstimmung gestartet ... VOTING_STARTED = Abstimmung gestartet ...
@ -161,7 +157,6 @@ GIVEN_NOT_VALID = La %s ingresada no es valida
MAP_IS = el mapa es MAP_IS = el mapa es
MAPS_ARE = los mapas son MAPS_ARE = los mapas son
CHOOSE_MAP = Elegir mapa CHOOSE_MAP = Elegir mapa
CHANGE_MAP_TO = Cambiar mapa a
ADMIN_VOTE_MAP_1 = %s: votar mapa(s) ADMIN_VOTE_MAP_1 = %s: votar mapa(s)
ADMIN_VOTE_MAP_2 = %s %s: votar map(s) ADMIN_VOTE_MAP_2 = %s %s: votar map(s)
VOTING_STARTED = Votacion comenzada... VOTING_STARTED = Votacion comenzada...
@ -196,7 +191,6 @@ GIVEN_NOT_VALID = %s donne(e) non valide
MAP_IS = la carte est MAP_IS = la carte est
MAPS_ARE = les cartes sont MAPS_ARE = les cartes sont
CHOOSE_MAP = Choisir la carte CHOOSE_MAP = Choisir la carte
CHANGE_MAP_TO = Changer la carte pour
ADMIN_VOTE_MAP_1 = %s: vote carte(s) ADMIN_VOTE_MAP_1 = %s: vote carte(s)
ADMIN_VOTE_MAP_2 = %s %s: vote carte(s) ADMIN_VOTE_MAP_2 = %s %s: vote carte(s)
VOTING_STARTED = Le vote commence... VOTING_STARTED = Le vote commence...
@ -231,7 +225,6 @@ GIVEN_NOT_VALID = Gegeven %s onjuist
MAP_IS = map is MAP_IS = map is
MAPS_ARE = maps zijn MAPS_ARE = maps zijn
CHOOSE_MAP = Kies map CHOOSE_MAP = Kies map
CHANGE_MAP_TO = Verander map naar
ADMIN_VOTE_MAP_1 = %s: stem map(s) ADMIN_VOTE_MAP_1 = %s: stem map(s)
ADMIN_VOTE_MAP_2 = %s %s: stem map(s) ADMIN_VOTE_MAP_2 = %s %s: stem map(s)
VOTING_STARTED = Stemmen is begonnen... VOTING_STARTED = Stemmen is begonnen...
@ -266,7 +259,6 @@ GIVEN_NOT_VALID = Dany %s nie jest prawidlowy
MAP_IS = mapa jest MAP_IS = mapa jest
MAPS_ARE = mapy sa MAPS_ARE = mapy sa
CHOOSE_MAP = Wybierz mape CHOOSE_MAP = Wybierz mape
CHANGE_MAP_TO = zmien mape na
ADMIN_VOTE_MAP_1 = %s: zaglosowal mape(s) ADMIN_VOTE_MAP_1 = %s: zaglosowal mape(s)
ADMIN_VOTE_MAP_2 = %s %s: zaglosowal mape(s) ADMIN_VOTE_MAP_2 = %s %s: zaglosowal mape(s)
VOTING_STARTED = Glosowanie rozpoczete VOTING_STARTED = Glosowanie rozpoczete
@ -301,7 +293,6 @@ GIVEN_NOT_VALID = Dat %s nije validan
MAP_IS = mapa je MAP_IS = mapa je
MAPS_ARE = mape su MAPS_ARE = mape su
CHOOSE_MAP = Izaberi mapu CHOOSE_MAP = Izaberi mapu
CHANGE_MAP_TO = Promeni mapu na
ADMIN_VOTE_MAP_1 = %s: glasanje za mapu(e) ADMIN_VOTE_MAP_1 = %s: glasanje za mapu(e)
ADMIN_VOTE_MAP_2 = %s %s: glasanje za mapu(e) ADMIN_VOTE_MAP_2 = %s %s: glasanje za mapu(e)
VOTING_STARTED = Glasanje je pocelo... VOTING_STARTED = Glasanje je pocelo...
@ -336,7 +327,6 @@ GIVEN_NOT_VALID = Avlagd %s icke giltig
MAP_IS = karta MAP_IS = karta
MAPS_ARE = kartor MAPS_ARE = kartor
CHOOSE_MAP = Utse karta CHOOSE_MAP = Utse karta
CHANGE_MAP_TO = Byt karta till
ADMIN_VOTE_MAP_1 = %s: val av karta(or) ADMIN_VOTE_MAP_1 = %s: val av karta(or)
ADMIN_VOTE_MAP_2 = %s %s: val av karta(or) ADMIN_VOTE_MAP_2 = %s %s: val av karta(or)
VOTING_STARTED = Valet har startat... VOTING_STARTED = Valet har startat...
@ -371,7 +361,6 @@ GIVEN_NOT_VALID = %s verildi, gecerli degil
MAP_IS = Map budur MAP_IS = Map budur
MAPS_ARE = Maplar bunlardir MAPS_ARE = Maplar bunlardir
CHOOSE_MAP = Map secin CHOOSE_MAP = Map secin
CHANGE_MAP_TO = Map'i buna degisdirin
ADMIN_VOTE_MAP_1 = %s:map(lar) oylamasi ADMIN_VOTE_MAP_1 = %s:map(lar) oylamasi
ADMIN_VOTE_MAP_2 = %s %s: map(lar) oylamasi ADMIN_VOTE_MAP_2 = %s %s: map(lar) oylamasi
VOTING_STARTED = Oylama baslamisdir... VOTING_STARTED = Oylama baslamisdir...
@ -381,4 +370,4 @@ ADMIN_VOTE_CUS_2 = %s %s: Ozel oylama
VOTE = Oy VOTE = Oy
ACTION_PERFORMED = Bot uzerinde bunu yapamassiniz "%s" ACTION_PERFORMED = Bot uzerinde bunu yapamassiniz "%s"
ADMIN_VOTE_FOR_1 = %s: %s hakkinda oy %s ADMIN_VOTE_FOR_1 = %s: %s hakkinda oy %s
ADMIN_VOTE_FOR_2 = %s %s: %s hakkinda oy %s ADMIN_VOTE_FOR_2 = %s %s: %s hakkinda oy %s

View File

@ -216,4 +216,4 @@ MORE_CL_MATCHT = Aradiginiz konuya uygun oyuncular
CL_NOT_FOUND = O isimde oyuncu yada kullaniciID'si bulunamadi CL_NOT_FOUND = O isimde oyuncu yada kullaniciID'si bulunamadi
CLIENT_IMM = "%s" oyuncunun dokunulmazligi var CLIENT_IMM = "%s" oyuncunun dokunulmazligi var
CANT_PERF_DEAD = Bunu olu bir oyuncunun uzerinde yapamazsiniz "%s" CANT_PERF_DEAD = Bunu olu bir oyuncunun uzerinde yapamazsiniz "%s"
CANT_PERF_BOT = Bot uzerinde bunu yapamazsiniz "%s" CANT_PERF_BOT = Bot uzerinde bunu yapamazsiniz "%s"

View File

@ -8,7 +8,6 @@ PAUSE_SAVE_FAILED = Configuration saving failed!!!
ON = ON ON = ON
STOPPED = STOPPED STOPPED = STOPPED
OFF = OFF OFF = OFF
ERROR = ERROR
LOCKED = LOCKED LOCKED = LOCKED
PAUSE_UNPAUSE = Pause/Unpause Plugins PAUSE_UNPAUSE = Pause/Unpause Plugins
CLEAR_STOPPED = Clear file with stopped CLEAR_STOPPED = Clear file with stopped
@ -20,7 +19,6 @@ UNPAUSED_PLUGINS = Unpaused %d plugins
CANT_MARK_MORE = Can't mark more plugins as unpauseable! CANT_MARK_MORE = Can't mark more plugins as unpauseable!
PAUSE_LOADED = Pause Plugins: Loaded plugins PAUSE_LOADED = Pause Plugins: Loaded plugins
PAUSED = paused PAUSED = paused
UNPAUSED = unpaused
STOPPED = stopped STOPPED = stopped
NAME = name NAME = name
VERSION = version VERSION = version
@ -52,7 +50,6 @@ PAUSE_SAVE_FAILED = Falha ao salvar a configuracao!!!
ON = LIGADO ON = LIGADO
STOPPED = PARADO STOPPED = PARADO
OFF = DESLIGADO OFF = DESLIGADO
ERROR = ERRO
LOCKED = BLOQUEADO LOCKED = BLOQUEADO
PAUSE_UNPAUSE = Pausa/despausa Plugins PAUSE_UNPAUSE = Pausa/despausa Plugins
CLEAR_STOPPED = Limpa arquivo de plugins parados CLEAR_STOPPED = Limpa arquivo de plugins parados
@ -64,7 +61,6 @@ UNPAUSED_PLUGINS = Despausados %d plugins
CANT_MARK_MORE = Nao pode marcar mais plugins como nao pausaveis! CANT_MARK_MORE = Nao pode marcar mais plugins como nao pausaveis!
PAUSE_LOADED = Pausar Plugins: Carregar plugins PAUSE_LOADED = Pausar Plugins: Carregar plugins
PAUSED = pausado PAUSED = pausado
UNPAUSED = despausado
STOPPED = parado STOPPED = parado
NAME = nome NAME = nome
VERSION = versao VERSION = versao
@ -96,7 +92,6 @@ PAUSE_SAVE_FAILED = Gem Konfiguration mislykkedes!!!
ON = ON ON = ON
STOPPED = STOPPED STOPPED = STOPPED
OFF = OFF OFF = OFF
ERROR = FEJL
LOCKED = LAAST LOCKED = LAAST
PAUSE_UNPAUSE = Pause/Unpause Plugins PAUSE_UNPAUSE = Pause/Unpause Plugins
CLEAR_STOPPED = Ryd fil med stoppede CLEAR_STOPPED = Ryd fil med stoppede
@ -108,7 +103,6 @@ UNPAUSED_PLUGINS = Unpaused %d plugins
CANT_MARK_MORE = Kan ikke markere flere plugins som upauserbare! CANT_MARK_MORE = Kan ikke markere flere plugins som upauserbare!
PAUSE_LOADED = Pause Plugins: Indlaeste plugins PAUSE_LOADED = Pause Plugins: Indlaeste plugins
PAUSED = paused PAUSED = paused
UNPAUSED = unpaused
STOPPED = stopped STOPPED = stopped
NAME = Navn NAME = Navn
VERSION = version VERSION = version
@ -140,7 +134,6 @@ PAUSE_SAVE_FAILED = Fehler beim Speichern der Konfiguration!!!
ON = AN ON = AN
STOPPED = GESTOPPT STOPPED = GESTOPPT
OFF = AUS OFF = AUS
ERROR = FEHLER
LOCKED = GESPERRT LOCKED = GESPERRT
PAUSE_UNPAUSE = Pausiere/Aktiviere Plugins PAUSE_UNPAUSE = Pausiere/Aktiviere Plugins
CLEAR_STOPPED = Loeschen der Datei gestoppt CLEAR_STOPPED = Loeschen der Datei gestoppt
@ -152,7 +145,6 @@ UNPAUSED_PLUGINS = %d Plugins aktiviert
CANT_MARK_MORE = Kann keine weiteren Plugins aktivieren! CANT_MARK_MORE = Kann keine weiteren Plugins aktivieren!
PAUSE_LOADED = Pausierte Plugins: Plugins geladen PAUSE_LOADED = Pausierte Plugins: Plugins geladen
PAUSED = pausiert PAUSED = pausiert
UNPAUSED = aktiviert
STOPPED = gestoppt STOPPED = gestoppt
NAME = Name NAME = Name
VERSION = Version VERSION = Version
@ -184,7 +176,6 @@ PAUSE_SAVE_FAILED = Gravado de Configuracion fallido!!!
ON = ON ON = ON
STOPPED = STOPPED STOPPED = STOPPED
OFF = OFF OFF = OFF
ERROR = ERROR
LOCKED = LOCKED LOCKED = LOCKED
PAUSE_UNPAUSE = Pausar/DesPausar Plugins PAUSE_UNPAUSE = Pausar/DesPausar Plugins
CLEAR_STOPPED = Limpiar archivo con paradas CLEAR_STOPPED = Limpiar archivo con paradas
@ -196,7 +187,6 @@ UNPAUSED_PLUGINS = DesPausar %d plugins
CANT_MARK_MORE = No se puede marcar mas plugins como no interrumpibles! CANT_MARK_MORE = No se puede marcar mas plugins como no interrumpibles!
PAUSE_LOADED = Pausar Plugins: Cargar plugins PAUSE_LOADED = Pausar Plugins: Cargar plugins
PAUSED = pausado PAUSED = pausado
UNPAUSED = no pausado
STOPPED = detenido STOPPED = detenido
NAME = nombre NAME = nombre
VERSION = version VERSION = version
@ -228,7 +218,6 @@ PAUSE_SAVE_FAILED = Sauvegarde de la configuration echouee!!!
ON = ACTIF ON = ACTIF
STOPPED = ARRETE STOPPED = ARRETE
OFF = INACTIF OFF = INACTIF
ERROR = ERREUR
LOCKED = BLOQUE LOCKED = BLOQUE
PAUSE_UNPAUSE = Mettre/Enlever la pause des Plugins PAUSE_UNPAUSE = Mettre/Enlever la pause des Plugins
CLEAR_STOPPED = Efface la liste des plugins arretes CLEAR_STOPPED = Efface la liste des plugins arretes
@ -240,7 +229,6 @@ UNPAUSED_PLUGINS = Enlever la pause de %d plugins
CANT_MARK_MORE = Impossible d'ajouter plus de plugins qui ne peuvent etre mis en pause! CANT_MARK_MORE = Impossible d'ajouter plus de plugins qui ne peuvent etre mis en pause!
PAUSE_LOADED = Pause Plugins: Chargement des plugins PAUSE_LOADED = Pause Plugins: Chargement des plugins
PAUSED = a ete mis en pause PAUSED = a ete mis en pause
UNPAUSED = a enleve la pause
STOPPED = a ete arrete STOPPED = a ete arrete
NAME = nom NAME = nom
VERSION = version VERSION = version
@ -272,7 +260,6 @@ PAUSE_SAVE_FAILED = Opslaan configuratie gefaald!
ON = AAN ON = AAN
STOPPED = GESTOPT STOPPED = GESTOPT
OFF = UIT OFF = UIT
ERROR = FOUT
LOCKED = GESLOTEN LOCKED = GESLOTEN
PAUSE_UNPAUSE = Pauseer/Hervat Plugins PAUSE_UNPAUSE = Pauseer/Hervat Plugins
CLEAR_STOPPED = Leeg bestand met gestopt CLEAR_STOPPED = Leeg bestand met gestopt
@ -284,7 +271,6 @@ UNPAUSED_PLUGINS = %d Plugins hervat
CANT_MARK_MORE = Kan niet meer Plugins als gepauseerd markeren CANT_MARK_MORE = Kan niet meer Plugins als gepauseerd markeren
PAUSE_LOADED = Pauseeer Plugins: Geladen plugins PAUSE_LOADED = Pauseeer Plugins: Geladen plugins
PAUSED = gepauseerd PAUSED = gepauseerd
UNPAUSED = hervat
STOPPED = gestopt STOPPED = gestopt
NAME = naam NAME = naam
VERSION = versie VERSION = versie
@ -316,7 +302,6 @@ PAUSE_SAVE_FAILED = Konfiguracji nie udalo sie zapisac
ON = WL ON = WL
STOPPED = ZATRZYMANY STOPPED = ZATRZYMANY
OFF = WYL OFF = WYL
ERROR = BLAD
LOCKED = ZABLKOWANY LOCKED = ZABLKOWANY
PAUSE_UNPAUSE = Zatrzymaj/Wznow Plugin PAUSE_UNPAUSE = Zatrzymaj/Wznow Plugin
CLEAR_STOPPED = Wyczysc plik z zatrzymaniem CLEAR_STOPPED = Wyczysc plik z zatrzymaniem
@ -328,7 +313,6 @@ UNPAUSED_PLUGINS = Wznowiono %d pluginy
CANT_MARK_MORE = Nie mozna zaznaczyc wiecej pluginow jako wznawialnych! CANT_MARK_MORE = Nie mozna zaznaczyc wiecej pluginow jako wznawialnych!
PAUSE_LOADED = Zatrzymaj pluginy: Zaladowane pluginy PAUSE_LOADED = Zatrzymaj pluginy: Zaladowane pluginy
PAUSED = zatrzymano PAUSED = zatrzymano
UNPAUSED = wznowiono
STOPPED = wylaczono STOPPED = wylaczono
NAME = nazwa NAME = nazwa
VERSION = wersja VERSION = wersja
@ -360,7 +344,6 @@ PAUSE_SAVE_FAILED = Konfiguracija je sacuvana neuspesno!!!
ON = UKLJUCEN ON = UKLJUCEN
STOPPED = ZAUSTAVLJEN STOPPED = ZAUSTAVLJEN
OFF = ISKLJUCEN OFF = ISKLJUCEN
ERROR = GRESKA
LOCKED = ZAKLJUCAN LOCKED = ZAKLJUCAN
PAUSE_UNPAUSE = Pauziraj/Pokreni Plugin PAUSE_UNPAUSE = Pauziraj/Pokreni Plugin
CLEAR_STOPPED = Ocisti fajl sa stopiranim CLEAR_STOPPED = Ocisti fajl sa stopiranim
@ -372,7 +355,6 @@ UNPAUSED_PLUGINS = Pokrenuti %d pluginovi
CANT_MARK_MORE = Nije moguce izabrati vise pluginova kao zakljucani! CANT_MARK_MORE = Nije moguce izabrati vise pluginova kao zakljucani!
PAUSE_LOADED = Pauzirani Pluginovi: Ucitani pluginovi PAUSE_LOADED = Pauzirani Pluginovi: Ucitani pluginovi
PAUSED = pauziran PAUSED = pauziran
UNPAUSED = pokrenut
STOPPED = zaustavljen STOPPED = zaustavljen
NAME = ime NAME = ime
VERSION = verzija VERSION = verzija
@ -402,9 +384,7 @@ PAUSE_ALR_CLEARED = Konfigurationsfil redan rensad!
PAUSE_CONF_SAVED = Konfiguration sparad PAUSE_CONF_SAVED = Konfiguration sparad
PAUSE_SAVE_FAILED = Konfigurationsfilen kunde inte sparas!! PAUSE_SAVE_FAILED = Konfigurationsfilen kunde inte sparas!!
ON = AKTIV ON = AKTIV
STOPPED = STOPPAD
OFF = AV OFF = AV
ERROR = FEL
LOCKED = BUNDEN LOCKED = BUNDEN
PAUSE_UNPAUSE = Pausa/Starta Plugins PAUSE_UNPAUSE = Pausa/Starta Plugins
CLEAR_STOPPED = Rensa fil med stoppade CLEAR_STOPPED = Rensa fil med stoppade
@ -416,7 +396,6 @@ UNPAUSED_PLUGINS = Startade %d plugins
CANT_MARK_MORE = Kan inte markera mer plugins som icke pausbara! CANT_MARK_MORE = Kan inte markera mer plugins som icke pausbara!
PAUSE_LOADED = Pausa plugins: Ladda plugins PAUSE_LOADED = Pausa plugins: Ladda plugins
PAUSED = pausad PAUSED = pausad
UNPAUSED = startad
STOPPED = stoppad STOPPED = stoppad
NAME = namn NAME = namn
VERSION = version VERSION = version
@ -446,9 +425,7 @@ PAUSE_ALR_CLEARED = Config dosyasi zaten temizlenmisdi!
PAUSE_CONF_SAVED = Config dosyasina basari ile saklandi PAUSE_CONF_SAVED = Config dosyasina basari ile saklandi
PAUSE_SAVE_FAILED = Config dosyasina eklenemedi!!! PAUSE_SAVE_FAILED = Config dosyasina eklenemedi!!!
ON = ACIK ON = ACIK
STOPPED = DURDURULDU
OFF = KAPALI OFF = KAPALI
ERROR = HATA
LOCKED = KILITLI LOCKED = KILITLI
PAUSE_UNPAUSE = Pluginleri Durdur/Baslat PAUSE_UNPAUSE = Pluginleri Durdur/Baslat
CLEAR_STOPPED = Durdur emiri ile dosyayi temizleyin CLEAR_STOPPED = Durdur emiri ile dosyayi temizleyin
@ -460,7 +437,6 @@ UNPAUSED_PLUGINS = Durdurulmamis Pluginler %d
CANT_MARK_MORE = Sinir asildi gecici olarak Plugin durdurulamiyor! CANT_MARK_MORE = Sinir asildi gecici olarak Plugin durdurulamiyor!
PAUSE_LOADED = Pluginleri durdur: Calisan pluginler PAUSE_LOADED = Pluginleri durdur: Calisan pluginler
PAUSED = Durdurulmus PAUSED = Durdurulmus
UNPAUSED = Durdurulmamis
STOPPED = Durduruldu STOPPED = Durduruldu
NAME = isim NAME = isim
VERSION = versiyon VERSION = versiyon
@ -480,4 +456,4 @@ COM_PAUSE_ENABLE = ^tenable <dosya> - bir plugin baslatir
COM_PAUSE_SAVE = ^tsave - Durdulmus pluginler uzerine bir liste saklar COM_PAUSE_SAVE = ^tsave - Durdulmus pluginler uzerine bir liste saklar
COM_PAUSE_CLEAR = ^tclear - Durdurulmus pluginlerin listesini siler COM_PAUSE_CLEAR = ^tclear - Durdurulmus pluginlerin listesini siler
COM_PAUSE_LIST = ^tlist [id] - Pluginleri listele COM_PAUSE_LIST = ^tlist [id] - Pluginleri listele
COM_PAUSE_ADD = ^tadd <isim> - Durduralamiyan bir plugin isaretler COM_PAUSE_ADD = ^tadd <isim> - Durduralamiyan bir plugin isaretler

View File

@ -4,10 +4,6 @@ ADMIN_BAN_2 = ADMIN %s: ban %s
BAN_MENU = Ban Menu BAN_MENU = Ban Menu
BAN_FOR_MIN = Ban for %d minutes BAN_FOR_MIN = Ban for %d minutes
BAN_PERM = Ban permanently BAN_PERM = Ban permanently
ADMIN_SLAP_1 = ADMIN: slap %s with %d damage
ADMIN_SLAP_2 = ADMIN %s: slap %s with %d damage
ADMIN_SLAY_1 = ADMIN: slay %s
ADMIN_SLAY_2 = ADMIN %s: slay %s
SLAP_SLAY_MENU = Slap/Slay Menu SLAP_SLAY_MENU = Slap/Slay Menu
SLAP_WITH_DMG = Slap with %d damage SLAP_WITH_DMG = Slap with %d damage
SLAY = Slay SLAY = Slay
@ -27,10 +23,6 @@ ADMIN_BAN_2 = ADMIN %s: baniu %s
BAN_MENU = Menu de Banir BAN_MENU = Menu de Banir
BAN_FOR_MIN = Banir por %d minutos BAN_FOR_MIN = Banir por %d minutos
BAN_PERM = Banir permanentemente BAN_PERM = Banir permanentemente
ADMIN_SLAP_1 = ADMIN: bateu em %s com %d de dano
ADMIN_SLAP_2 = ADMIN %s: bateu em %s com %d de dano
ADMIN_SLAY_1 = ADMIN: assassinou %s
ADMIN_SLAY_2 = ADMIN %s: assassinou %s
SLAP_SLAY_MENU = Menu de Bater/Matar SLAP_SLAY_MENU = Menu de Bater/Matar
SLAP_WITH_DMG = Bater com %d de dano SLAP_WITH_DMG = Bater com %d de dano
SLAY = Matar SLAY = Matar
@ -50,10 +42,6 @@ ADMIN_BAN_2 = ADMIN %s: ban %s
BAN_MENU = Ban Menu BAN_MENU = Ban Menu
BAN_FOR_MIN = Ban i %d minutter BAN_FOR_MIN = Ban i %d minutter
BAN_PERM = Ban permanent BAN_PERM = Ban permanent
ADMIN_SLAP_1 = ADMIN: klask %s med %d skade
ADMIN_SLAP_2 = ADMIN %s: klask %s med %d skade
ADMIN_SLAY_1 = ADMIN: draeb %s
ADMIN_SLAY_2 = ADMIN %s: draeb %s
SLAP_SLAY_MENU = Klask/Draeb Menu SLAP_SLAY_MENU = Klask/Draeb Menu
SLAP_WITH_DMG = Klask med %d skade SLAP_WITH_DMG = Klask med %d skade
SLAY = Draeb SLAY = Draeb
@ -73,10 +61,6 @@ ADMIN_BAN_2 = ADMIN %s: bannt %s
BAN_MENU = Menu Bannen BAN_MENU = Menu Bannen
BAN_FOR_MIN = fuer %d Minuten bannen BAN_FOR_MIN = fuer %d Minuten bannen
BAN_PERM = fuer immer bannen BAN_PERM = fuer immer bannen
ADMIN_SLAP_1 = ADMIN: schlaegt %s mit %d Schaden
ADMIN_SLAP_2 = ADMIN %s: schlaegt %s mit %d Schaden
ADMIN_SLAY_1 = ADMIN: toetet %s
ADMIN_SLAY_2 = ADMIN %s: toetet %s
SLAP_SLAY_MENU = Schagen/Toeten-Menu SLAP_SLAY_MENU = Schagen/Toeten-Menu
SLAP_WITH_DMG = mit %d Schaden schlagen SLAP_WITH_DMG = mit %d Schaden schlagen
SLAY = toeten SLAY = toeten
@ -96,10 +80,6 @@ ADMIN_BAN_2 = ADMIN %s: prohibe a %s
BAN_MENU = Menu de Prohibiciones BAN_MENU = Menu de Prohibiciones
BAN_FOR_MIN = prohibe por %d minutos BAN_FOR_MIN = prohibe por %d minutos
BAN_PERM = Prohibe permanentemente BAN_PERM = Prohibe permanentemente
ADMIN_SLAP_1 = ADMIN: cachetea %s con %d danio
ADMIN_SLAP_2 = ADMIN %s: cachetea %s with %d danio
ADMIN_SLAY_1 = ADMIN: asesina a %s
ADMIN_SLAY_2 = ADMIN %s: asesina a %s
SLAP_SLAY_MENU = Menu de Cacheteos/Asesinatos SLAP_SLAY_MENU = Menu de Cacheteos/Asesinatos
SLAP_WITH_DMG = Cacheteo con %d danio SLAP_WITH_DMG = Cacheteo con %d danio
SLAY = asesinar SLAY = asesinar
@ -119,10 +99,6 @@ ADMIN_BAN_2 = ADMIN %s: banni %s
BAN_MENU = Menu Bannir BAN_MENU = Menu Bannir
BAN_FOR_MIN = Bannir pour %d minutes BAN_FOR_MIN = Bannir pour %d minutes
BAN_PERM = Bannir a vie (permanent) BAN_PERM = Bannir a vie (permanent)
ADMIN_SLAP_1 = ADMIN: frappe %s avec %d points de degat
ADMIN_SLAP_2 = ADMIN %s: frappe %s with %d points de degat
ADMIN_SLAY_1 = ADMIN: foudroie %s
ADMIN_SLAY_2 = ADMIN %s: foudroie %s
SLAP_SLAY_MENU = Menu Frapper/Foudroyer SLAP_SLAY_MENU = Menu Frapper/Foudroyer
SLAP_WITH_DMG = Frapper avec %d points de degat SLAP_WITH_DMG = Frapper avec %d points de degat
SLAY = Foudroyer SLAY = Foudroyer
@ -142,10 +118,6 @@ ADMIN_BAN_2 = BEHEERDER %s: verban %s
BAN_MENU = Verban Menu BAN_MENU = Verban Menu
BAN_FOR_MIN = Verban voor %d minuten BAN_FOR_MIN = Verban voor %d minuten
BAN_PERM = Verban permanent BAN_PERM = Verban permanent
ADMIN_SLAP_1 = BEHEERDER: sla %s met %d schade
ADMIN_SLAP_2 = BEHEERDER %s: sla %s met %d schade
ADMIN_SLAY_1 = BEHEERDER: dood %s
ADMIN_SLAY_2 = BEHEERDER %s: dood %s
SLAP_SLAY_MENU = Sla/Dood Menu SLAP_SLAY_MENU = Sla/Dood Menu
SLAP_WITH_DMG = Sla met %d schade SLAP_WITH_DMG = Sla met %d schade
SLAY = Sla SLAY = Sla
@ -165,10 +137,6 @@ ADMIN_BAN_2 = ADMIN %s: ban %s
BAN_MENU = Menu Bana BAN_MENU = Menu Bana
BAN_FOR_MIN = Ban na %d minut BAN_FOR_MIN = Ban na %d minut
BAN_PERM = Kompletny Ban BAN_PERM = Kompletny Ban
ADMIN_SLAP_1 = ADMIN: uderzyl %s zadajac %d obrazen
ADMIN_SLAP_2 = ADMIN %s: uderzyl %s zadajac %d obrazen
ADMIN_SLAY_1 = ADMIN: zgladzil %s
ADMIN_SLAY_2 = ADMIN %s: zgladzil %s
SLAP_SLAY_MENU = Menu udzerzen/zgladzen SLAP_SLAY_MENU = Menu udzerzen/zgladzen
SLAP_WITH_DMG = Uderz zadajac %d obrazen SLAP_WITH_DMG = Uderz zadajac %d obrazen
SLAY = Zgladzenie SLAY = Zgladzenie
@ -188,10 +156,6 @@ ADMIN_BAN_2 = ADMIN %s: ban %s
BAN_MENU = Ban Meni BAN_MENU = Ban Meni
BAN_FOR_MIN = Ban na %d minuta BAN_FOR_MIN = Ban na %d minuta
BAN_PERM = Ban za stalno BAN_PERM = Ban za stalno
ADMIN_SLAP_1 = ADMIN: slap %s sa %d stete
ADMIN_SLAP_2 = ADMIN %s: slap %s sa %d stete
ADMIN_SLAY_1 = ADMIN: slay %s
ADMIN_SLAY_2 = ADMIN %s: slay %s
SLAP_SLAY_MENU = Slap/Slay Meni SLAP_SLAY_MENU = Slap/Slay Meni
SLAP_WITH_DMG = Slap sa %d stete SLAP_WITH_DMG = Slap sa %d stete
SLAY = Slay SLAY = Slay
@ -211,10 +175,6 @@ ADMIN_BAN_2 = ADMIN %s: bannlys %s
BAN_MENU = Bannlysnings Meny BAN_MENU = Bannlysnings Meny
BAN_FOR_MIN = Bannlys i %d minuter BAN_FOR_MIN = Bannlys i %d minuter
BAN_PERM = Permanent bannlysning BAN_PERM = Permanent bannlysning
ADMIN_SLAP_1 = ADMIN: smiska %s med %d skada
ADMIN_SLAP_2 = ADMIN %s: smiska %s med %d skada
ADMIN_SLAY_1 = ADMIN: slakta %s
ADMIN_SLAY_2 = ADMIN %s: slakta %s
SLAP_SLAY_MENU = Smiska/Slakta Meny SLAP_SLAY_MENU = Smiska/Slakta Meny
SLAP_WITH_DMG = Smiska med %d skada SLAP_WITH_DMG = Smiska med %d skada
SLAY = Slakta SLAY = Slakta
@ -227,17 +187,11 @@ TEAM_MENU = Lagmeny
TRANSF_TO = Skicka till %s TRANSF_TO = Skicka till %s
CL_CMD_MENU = Klientkommandomeny CL_CMD_MENU = Klientkommandomeny
NO_CMDS = Det finns inga kommandon NO_CMDS = Det finns inga kommandon
[tr]
ADMIN_BAN_1 = ADMIN: ban %s ADMIN_BAN_1 = ADMIN: ban %s
ADMIN_BAN_2 = ADMIN %s: ban %s ADMIN_BAN_2 = ADMIN %s: ban %s
BAN_MENU = Ban Menusu BAN_MENU = Ban Menusu
BAN_FOR_MIN = Ban %d dakika olarak BAN_FOR_MIN = Ban %d dakika olarak
BAN_PERM = Ban suresiz BAN_PERM = Ban suresiz
ADMIN_SLAP_1 = ADMIN: %s tokatla verilen zarar %d
ADMIN_SLAP_2 = ADMIN %s: %s tokatla verilen zarar %d
ADMIN_SLAY_1 = ADMIN: oldurdu %s
ADMIN_SLAY_2 = ADMIN %s: oldurdu %s
SLAP_SLAY_MENU = Tokatla/oldur menusu SLAP_SLAY_MENU = Tokatla/oldur menusu
SLAP_WITH_DMG = Tokatla %d zarar ile SLAP_WITH_DMG = Tokatla %d zarar ile
SLAY = Oldur SLAY = Oldur
@ -249,4 +203,4 @@ ADMIN_TRANSF_2 = ADMIN %s: takim %s goc %s
TEAM_MENU = Takim menu TEAM_MENU = Takim menu
TRANSF_TO = %s takima goc TRANSF_TO = %s takima goc
CL_CMD_MENU = Oyuncu Emir Menusu CL_CMD_MENU = Oyuncu Emir Menusu
NO_CMDS = Emir mevcud degildir NO_CMDS = Emir mevcud degildir

View File

@ -1,5 +1,4 @@
[en] [en]
TOTAL_NUM = Total %d
NO_OPTION = Couldn't find option(s) with such variable (name "%s") NO_OPTION = Couldn't find option(s) with such variable (name "%s")
STATS_CONF_SAVED = Stats configuration saved successfully STATS_CONF_SAVED = Stats configuration saved successfully
STATS_CONF_FAILED = Failed to save stats configuration!!! STATS_CONF_FAILED = Failed to save stats configuration!!!
@ -24,7 +23,6 @@ NO_STATS = Stats plugins are not^ninstalled on this server^n
SAVE_CONF = Save configuration SAVE_CONF = Save configuration
[bp] [bp]
TOTAL_NUM = Total %d
NO_OPTION = Nao pude encontrar opcao(s) com essa variavel (nome "%s") NO_OPTION = Nao pude encontrar opcao(s) com essa variavel (nome "%s")
STATS_CONF_SAVED = A configuracao do stats foi salva com sucesso STATS_CONF_SAVED = A configuracao do stats foi salva com sucesso
STATS_CONF_FAILED = A configuracao do stats nao pode ser salva!!! STATS_CONF_FAILED = A configuracao do stats nao pode ser salva!!!
@ -49,7 +47,6 @@ NO_STATS = Plugins de Stats nao estao^ninstalados neste servidor^n
SAVE_CONF = Salvar Configuracao SAVE_CONF = Salvar Configuracao
[da] [da]
TOTAL_NUM = Total %d
NO_OPTION = Kunne ikke finde mulighed(er)med en saadan variabel (name "%s") NO_OPTION = Kunne ikke finde mulighed(er)med en saadan variabel (name "%s")
STATS_CONF_SAVED = Statestik Konfiguration gemt STATS_CONF_SAVED = Statestik Konfiguration gemt
STATS_CONF_FAILED = Gem Statestik konfiguration mislykkedes!!! STATS_CONF_FAILED = Gem Statestik konfiguration mislykkedes!!!
@ -74,7 +71,6 @@ NO_STATS = Statestik plugins er ikke ^ninstalleret paa denne server^n
SAVE_CONF = Gem Konfiguration SAVE_CONF = Gem Konfiguration
[de] [de]
TOTAL_NUM = Gesamt %d
NO_OPTION = Finde keine Optionen mit dieser Variable (Name "%s") NO_OPTION = Finde keine Optionen mit dieser Variable (Name "%s")
STATS_CONF_SAVED = Statistik-Konfiguration erfolgreich gespeichert. STATS_CONF_SAVED = Statistik-Konfiguration erfolgreich gespeichert.
STATS_CONF_FAILED = Fehler beim Speichern der Statistik-Konfiguration!!! STATS_CONF_FAILED = Fehler beim Speichern der Statistik-Konfiguration!!!
@ -99,7 +95,6 @@ NO_STATS = Statistik-Plugin ist nicht^nauf diesem Server installiert^n
SAVE_CONF = Konfiguration speichern SAVE_CONF = Konfiguration speichern
[es] [es]
TOTAL_NUM = Total %d
NO_OPTION = No se ha podido encontrar opciones con esa variable (nombre "%s") NO_OPTION = No se ha podido encontrar opciones con esa variable (nombre "%s")
STATS_CONF_SAVED = La Configuracion de Stats ha sido gravada exitosamente STATS_CONF_SAVED = La Configuracion de Stats ha sido gravada exitosamente
STATS_CONF_FAILED = No se ha podido gravar la La Configuacion de Stats!!! STATS_CONF_FAILED = No se ha podido gravar la La Configuacion de Stats!!!
@ -124,7 +119,6 @@ NO_STATS = El plugin Stats no esta^ninstalado en este servidor^n
SAVE_CONF = Gravar configuracion SAVE_CONF = Gravar configuracion
[fr] [fr]
TOTAL_NUM = Total %d
NO_OPTION = Option(s) introuvable(s) avec cette variable (nom ^"%s^") NO_OPTION = Option(s) introuvable(s) avec cette variable (nom ^"%s^")
STATS_CONF_SAVED = Sauvegarde de la configuration des stats effectuee STATS_CONF_SAVED = Sauvegarde de la configuration des stats effectuee
STATS_CONF_FAILED = Echec de sauvegarde de la configuration des stats!!! STATS_CONF_FAILED = Echec de sauvegarde de la configuration des stats!!!
@ -149,7 +143,6 @@ NO_STATS = Les plugins de stats ne sont pas^ninstalles sur ce serveur^n
SAVE_CONF = Sauver la configuration SAVE_CONF = Sauver la configuration
[nl] [nl]
TOTAL_NUM = Totaal %d
NO_OPTION = Kon optie(s) met deze variabel niet vinden (naam "%s") NO_OPTION = Kon optie(s) met deze variabel niet vinden (naam "%s")
STATS_CONF_SAVED = opslaan van stats configuratie is gelukt STATS_CONF_SAVED = opslaan van stats configuratie is gelukt
STATS_CONF_FAILED = opslaan van stats configuratie is gefaald!!! STATS_CONF_FAILED = opslaan van stats configuratie is gefaald!!!
@ -174,7 +167,6 @@ NO_STATS = Stats plugins zijn niet^ngeinstalleerd op deze server^n
SAVE_CONF = Configuratie opslaan SAVE_CONF = Configuratie opslaan
[pl] [pl]
TOTAL_NUM = Calkowite %d
NO_OPTION = Nie mozna znalesc opcji z podana zmienna (nazwa "%s") NO_OPTION = Nie mozna znalesc opcji z podana zmienna (nazwa "%s")
STATS_CONF_SAVED = Konfiguracja statystyk zapisana STATS_CONF_SAVED = Konfiguracja statystyk zapisana
STATS_CONF_FAILED = Nie udalo sie zapisac konfiguracji statystyk STATS_CONF_FAILED = Nie udalo sie zapisac konfiguracji statystyk
@ -199,7 +191,6 @@ NO_STATS = Pluginy statystyk nie^nistnieja na serwerze^n
SAVE_CONF = Zapisz konfiguracje SAVE_CONF = Zapisz konfiguracje
[sr] [sr]
TOTAL_NUM = Ukupno %d
NO_OPTION = Nepostoji optcija(e) sa tom promenljivom (ime "%s") NO_OPTION = Nepostoji optcija(e) sa tom promenljivom (ime "%s")
STATS_CONF_SAVED = Podesavanja Statistike su uspesno snimljena STATS_CONF_SAVED = Podesavanja Statistike su uspesno snimljena
STATS_CONF_FAILED = Podesavanja Statistike su neuspesno snimljena!!! STATS_CONF_FAILED = Podesavanja Statistike su neuspesno snimljena!!!
@ -224,7 +215,6 @@ NO_STATS = Plugin za statistiku^nnije instaliran na ovom serveru^n
SAVE_CONF = Sacuvaj konfiguraciju SAVE_CONF = Sacuvaj konfiguraciju
[sv] [sv]
TOTAL_NUM = Summa %d
NO_OPTION = Kunde inte hitta val(en) med en dylik variabel (namn "%s") NO_OPTION = Kunde inte hitta val(en) med en dylik variabel (namn "%s")
STATS_CONF_SAVED = Statistikinst'a'llningar sparade STATS_CONF_SAVED = Statistikinst'a'llningar sparade
STATS_CONF_FAILED = Misslyckades att spara inst'a'llningar. STATS_CONF_FAILED = Misslyckades att spara inst'a'llningar.
@ -249,7 +239,6 @@ NO_STATS = Statistikplugins e inte installerade pa denna server^n
SAVE_CONF = Spara inst'a'llningar SAVE_CONF = Spara inst'a'llningar
[tr] [tr]
TOTAL_NUM = Tam %d
NO_OPTION =O isimde aranan secenek(ler) bulunamadi (isim "%s") NO_OPTION =O isimde aranan secenek(ler) bulunamadi (isim "%s")
STATS_CONF_SAVED = Statistik configi basari ile saklandi STATS_CONF_SAVED = Statistik configi basari ile saklandi
STATS_CONF_FAILED = Statistik configi malesef saklanamadi!!! STATS_CONF_FAILED = Statistik configi malesef saklanamadi!!!
@ -271,4 +260,4 @@ COM_STATS_ADD = ^tadd <isim> <deger> - Listeye statistik ekleyin
ON = ACIK ON = ACIK
OFF = KAPALI OFF = KAPALI
NO_STATS = Statistik plugini^nserverde mevcud degildir^n NO_STATS = Statistik plugini^nserverde mevcud degildir^n
SAVE_CONF = Configleri sakla SAVE_CONF = Configleri sakla

View File

@ -54,6 +54,7 @@ public plugin_init() {
register_plugin("Pause Plugins",AMXX_VERSION_STR,"AMXX Dev Team") register_plugin("Pause Plugins",AMXX_VERSION_STR,"AMXX Dev Team")
register_dictionary("pausecfg.txt") register_dictionary("pausecfg.txt")
register_dictionary("common.txt") register_dictionary("common.txt")
register_dictionary("admincmd.txt")
register_concmd("amx_pausecfg","cmdPlugin",ADMIN_CFG,"- list commands for pause/unpause managment") register_concmd("amx_pausecfg","cmdPlugin",ADMIN_CFG,"- list commands for pause/unpause managment")
register_clcmd("amx_pausecfgmenu","cmdMenu",ADMIN_CFG,"- pause/unpause plugins with menu") register_clcmd("amx_pausecfgmenu","cmdMenu",ADMIN_CFG,"- pause/unpause plugins with menu")
#if defined DIRECT_ONOFF #if defined DIRECT_ONOFF
@ -392,4 +393,4 @@ loadSettings(filename[]) {
pause("dc", file ) pause("dc", file )
} }
return 1 return 1
} }

View File

@ -56,8 +56,9 @@ new g_coloredMenus
public plugin_init() { public plugin_init() {
register_plugin("Players Menu",AMXX_VERSION_STR,"AMXX Dev Team") register_plugin("Players Menu",AMXX_VERSION_STR,"AMXX Dev Team")
register_dictionary("plmenu.txt")
register_dictionary("common.txt") register_dictionary("common.txt")
register_dictionary("admincmd.txt")
register_dictionary("plmenu.txt")
register_clcmd("amx_kickmenu","cmdKickMenu",ADMIN_KICK,"- displays kick menu") register_clcmd("amx_kickmenu","cmdKickMenu",ADMIN_KICK,"- displays kick menu")
register_clcmd("amx_banmenu","cmdBanMenu",ADMIN_BAN,"- displays ban menu") register_clcmd("amx_banmenu","cmdBanMenu",ADMIN_BAN,"- displays ban menu")
@ -666,4 +667,4 @@ load_settings( szFilename[] ) {
} }
return 1 return 1
} }

View File

@ -34,6 +34,7 @@
#include <amxmodx> #include <amxmodx>
#include <amxmisc> #include <amxmisc>
#include <string>
#define SPEED 0.3 #define SPEED 0.3
@ -105,4 +106,4 @@ public setMessage() {
else else
server_print("%L",LANG_SERVER,"MSG_DISABLED") server_print("%L",LANG_SERVER,"MSG_DISABLED")
return PLUGIN_HANDLED return PLUGIN_HANDLED
} }