fixes for % stuff in statsx and its lang file

This commit is contained in:
Borja Ferrer 2006-02-15 19:44:34 +00:00
parent c31e2be46f
commit dc97e18955
3 changed files with 20 additions and 20 deletions

View File

@ -366,7 +366,7 @@ get_attackers(id, sBuffer[MAX_BUFFER_LENGTH + 1])
if (izStats[STATS_SHOTS] && ShowFullStats) if (izStats[STATS_SHOTS] && ShowFullStats)
{ {
get_user_name(iAttacker, t_sName, MAX_NAME_LENGTH) get_user_name(iAttacker, t_sName, MAX_NAME_LENGTH)
iLen = format(sBuffer, MAX_BUFFER_LENGTH, "%L -- %s -- %0.2f%%%% %L:^n", id, "ATTACKERS", t_sName, accuracy(izStats), id, "ACC") iLen = format(sBuffer, MAX_BUFFER_LENGTH, "%L -- %s -- %0.2f%% %L:^n", id, "ATTACKERS", t_sName, accuracy(izStats), id, "ACC")
} }
else else
iLen = format(sBuffer, MAX_BUFFER_LENGTH, "%L:^n", id, "ATTACKERS") iLen = format(sBuffer, MAX_BUFFER_LENGTH, "%L:^n", id, "ATTACKERS")
@ -420,7 +420,7 @@ get_victims(id, sBuffer[MAX_BUFFER_LENGTH + 1])
get_user_vstats(id, 0, izStats, izBody) get_user_vstats(id, 0, izStats, izBody)
if (izStats[STATS_SHOTS]) if (izStats[STATS_SHOTS])
iLen = format(sBuffer, MAX_BUFFER_LENGTH, "%L -- %0.2f%%%% %L:^n", id, "VICTIMS", accuracy(izStats), id, "ACC") iLen = format(sBuffer, MAX_BUFFER_LENGTH, "%L -- %0.2f%% %L:^n", id, "VICTIMS", accuracy(izStats), id, "ACC")
else else
iLen = format(sBuffer, MAX_BUFFER_LENGTH, "%L:^n", id, "VICTIMS") iLen = format(sBuffer, MAX_BUFFER_LENGTH, "%L:^n", id, "VICTIMS")
@ -514,7 +514,7 @@ add_most_disruptive(sBuffer[MAX_BUFFER_LENGTH + 1])
new Float:fGameEff = effec(g_izUserGameStats[id]) new Float:fGameEff = effec(g_izUserGameStats[id])
new Float:fRndAcc = accuracy(g_izUserRndStats[id]) new Float:fRndAcc = accuracy(g_izUserRndStats[id])
format(t_sText, MAX_TEXT_LENGTH, "%L: %s^n%d %L / %d %L -- %0.2f%%%% %L / %0.2f%%%% %L^n", LANG_SERVER, "MOST_DMG", g_izUserRndName[id], format(t_sText, MAX_TEXT_LENGTH, "%L: %s^n%d %L / %d %L -- %0.2f%% %L / %0.2f%% %L^n", LANG_SERVER, "MOST_DMG", g_izUserRndName[id],
g_izUserRndStats[id][STATS_HITS], LANG_SERVER, "HIT_S", iMaxDamage, LANG_SERVER, "DMG", fGameEff, LANG_SERVER, "EFF", fRndAcc, LANG_SERVER, "ACC") g_izUserRndStats[id][STATS_HITS], LANG_SERVER, "HIT_S", iMaxDamage, LANG_SERVER, "DMG", fGameEff, LANG_SERVER, "EFF", fRndAcc, LANG_SERVER, "ACC")
add(sBuffer, MAX_BUFFER_LENGTH, t_sText) add(sBuffer, MAX_BUFFER_LENGTH, t_sText)
} }
@ -550,7 +550,7 @@ add_best_score(sBuffer[MAX_BUFFER_LENGTH + 1])
new Float:fGameEff = effec(g_izUserGameStats[id]) new Float:fGameEff = effec(g_izUserGameStats[id])
new Float:fRndAcc = accuracy(g_izUserRndStats[id]) new Float:fRndAcc = accuracy(g_izUserRndStats[id])
format(t_sText, MAX_TEXT_LENGTH, "%L: %s^n%d %L / %d hs -- %0.2f%%%% %L / %0.2f%%%% %L^n", LANG_SERVER, "BEST_SCORE", g_izUserRndName[id], format(t_sText, MAX_TEXT_LENGTH, "%L: %s^n%d %L / %d hs -- %0.2f%% %L / %0.2f%% %L^n", LANG_SERVER, "BEST_SCORE", g_izUserRndName[id],
iMaxKills, LANG_SERVER, "KILL_S", iMaxHeadShots, fGameEff, LANG_SERVER, "EFF", fRndAcc, LANG_SERVER, "ACC") iMaxKills, LANG_SERVER, "KILL_S", iMaxHeadShots, fGameEff, LANG_SERVER, "EFF", fRndAcc, LANG_SERVER, "ACC")
add(sBuffer, MAX_BUFFER_LENGTH, t_sText) add(sBuffer, MAX_BUFFER_LENGTH, t_sText)
} }
@ -572,7 +572,7 @@ add_team_score(sBuffer[MAX_BUFFER_LENGTH + 1])
} }
// Format round team stats, MOTD // Format round team stats, MOTD
format(t_sText, MAX_TEXT_LENGTH, "TERRORIST %d / %0.2f%%%% %L / %0.2f%%%% %L^nCT %d / %0.2f%%%% %L / %0.2f%%%% %L^n", g_izTeamScore[0], format(t_sText, MAX_TEXT_LENGTH, "TERRORIST %d / %0.2f%% %L / %0.2f%% %L^nCT %d / %0.2f%% %L / %0.2f%% %L^n", g_izTeamScore[0],
fzMapEff[0], LANG_SERVER, "EFF", fzRndAcc[0], LANG_SERVER, "ACC", g_izTeamScore[1], fzMapEff[1], LANG_SERVER, "EFF", fzRndAcc[1], LANG_SERVER, "ACC") fzMapEff[0], LANG_SERVER, "EFF", fzRndAcc[0], LANG_SERVER, "ACC", g_izTeamScore[1], fzMapEff[1], LANG_SERVER, "EFF", fzRndAcc[1], LANG_SERVER, "ACC")
add(sBuffer, MAX_BUFFER_LENGTH, t_sText) add(sBuffer, MAX_BUFFER_LENGTH, t_sText)
} }
@ -591,7 +591,7 @@ save_team_chatscore()
} }
// Format game team stats, chat // Format game team stats, chat
format(g_sScore, MAX_BUFFER_LENGTH, "TERRORIST %d / %0.2f%%%% %L / %0.2f%%%% %L -- CT %d / %0.2f%%%% %L / %0.2f%%%% %L", g_izTeamScore[0], format(g_sScore, MAX_BUFFER_LENGTH, "TERRORIST %d / %0.2f%% %L / %0.2f%% %L -- CT %d / %0.2f%% %L / %0.2f%% %L", g_izTeamScore[0],
fzMapEff[0], LANG_SERVER, "EFF", fzMapAcc[0], LANG_SERVER, "ACC", g_izTeamScore[1], fzMapEff[1], LANG_SERVER, "EFF", fzMapAcc[1], LANG_SERVER, "ACC") fzMapEff[0], LANG_SERVER, "EFF", fzMapAcc[0], LANG_SERVER, "ACC", g_izTeamScore[1], fzMapEff[1], LANG_SERVER, "EFF", fzMapAcc[1], LANG_SERVER, "ACC")
} }

View File

@ -37,7 +37,7 @@ PLAYERS = Players
RANK_IS = rank is %d of %d RANK_IS = rank is %d of %d
DAMAGE = Damage DAMAGE = Damage
WEAPON = Weapon WEAPON = Weapon
YOUR_RANK_IS = Your rank is %d of %d with %d kill(s), %d hit(s), %0.2f% eff. and %0.2f% acc. YOUR_RANK_IS = Your rank is %d of %d with %d kill(s), %d hit(s), %0.2f%% eff. and %0.2f%% acc.
AMMO = ammo AMMO = ammo
HEALTH = health HEALTH = health
ARMOR = armor ARMOR = armor
@ -88,7 +88,7 @@ PLAYERS = Spieler
RANK_IS = Platzierung: %d von %d RANK_IS = Platzierung: %d von %d
DAMAGE = Schaden DAMAGE = Schaden
WEAPON = Waffe WEAPON = Waffe
YOUR_RANK_IS = Deine Platzierung: %d von %d mit %d Kill(s), %d Treffer, %0.2f%%%% eff. und %0.2f%%%% acc. YOUR_RANK_IS = Deine Platzierung: %d von %d mit %d Kill(s), %d Treffer, %0.2f%% eff. und %0.2f%% acc.
AMMO = Munition AMMO = Munition
HEALTH = Gesundheit HEALTH = Gesundheit
ARMOR = Ruestung ARMOR = Ruestung
@ -139,7 +139,7 @@ PLAYERS = Igraca
RANK_IS = rank je %d od %d RANK_IS = rank je %d od %d
DAMAGE = Steta DAMAGE = Steta
WEAPON = Oruzje WEAPON = Oruzje
YOUR_RANK_IS = Tvoj rank je %d od %d sa %d ubistva, %d pogodaka, %0.2f%%%% efikasnost. i %0.2f%%%% preciznosti. YOUR_RANK_IS = Tvoj rank je %d od %d sa %d ubistva, %d pogodaka, %0.2f%% efikasnost. i %0.2f%% preciznosti.
AMMO = municija AMMO = municija
HEALTH = energija HEALTH = energija
ARMOR = stit ARMOR = stit
@ -190,7 +190,7 @@ PLAYERS = Oyuncular
RANK_IS = Statistik %d ve %d RANK_IS = Statistik %d ve %d
DAMAGE = Zarar DAMAGE = Zarar
WEAPON = Silah WEAPON = Silah
YOUR_RANK_IS = Sizin statistik %d ve %d kullanim %d oldurulen, %d vuruslar, %0.2f%%%% eff. ve %0.2f%%%% isabet YOUR_RANK_IS = Sizin statistik %d ve %d kullanim %d oldurulen, %d vuruslar, %0.2f%% eff. ve %0.2f%% isabet
AMMO = kursun AMMO = kursun
HEALTH = saglik HEALTH = saglik
ARMOR = celik ARMOR = celik
@ -241,7 +241,7 @@ PLAYERS = Joueurs
RANK_IS = classement est de %d sur %d RANK_IS = classement est de %d sur %d
DAMAGE = Point(s) de degat DAMAGE = Point(s) de degat
WEAPON = Arme WEAPON = Arme
YOUR_RANK_IS = Ton classement est de %d sur %d avec %d frag(s), %d touche(s), %0.2f%%%% eff. et %0.2f%%%% prec. YOUR_RANK_IS = Ton classement est de %d sur %d avec %d frag(s), %d touche(s), %0.2f%% eff. et %0.2f%% prec.
AMMO = munition AMMO = munition
HEALTH = sante HEALTH = sante
ARMOR = armure ARMOR = armure
@ -292,7 +292,7 @@ PLAYERS = Spelare
RANK_IS = rank 'a'r %d av %d RANK_IS = rank 'a'r %d av %d
DAMAGE = Skada DAMAGE = Skada
WEAPON = Vapen WEAPON = Vapen
YOUR_RANK_IS = Din ranking 'a'r %d av %d med %d likvidering(ar), %d tr'a'ff(ar), %0.2f%%%% eff. och %0.2f%%%% prec. YOUR_RANK_IS = Din ranking 'a'r %d av %d med %d likvidering(ar), %d tr'a'ff(ar), %0.2f%% eff. och %0.2f%% prec.
AMMO = ammo AMMO = ammo
HEALTH = h'a'lsa HEALTH = h'a'lsa
ARMOR = skydd ARMOR = skydd
@ -343,7 +343,7 @@ PLAYERS = Spillere
RANK_IS = rank er %d af %d RANK_IS = rank er %d af %d
DAMAGE = Skade DAMAGE = Skade
WEAPON = Vaaben WEAPON = Vaaben
YOUR_RANK_IS = Din rank er %d af %d med %d drab %d traeffer(e), %0.2f%%%% eff. og %0.2f%%%% acc. YOUR_RANK_IS = Din rank er %d af %d med %d drab %d traeffer(e), %0.2f%% eff. og %0.2f%% acc.
AMMO = Ammunition AMMO = Ammunition
HEALTH = Helbred HEALTH = Helbred
ARMOR = armor ARMOR = armor
@ -394,7 +394,7 @@ PLAYERS = Gracze
RANK_IS = ranking wynosi %d na %d RANK_IS = ranking wynosi %d na %d
DAMAGE = Obrazenia DAMAGE = Obrazenia
WEAPON = Bron WEAPON = Bron
YOUR_RANK_IS = Twoj ranking wynosi %d na %d Masz %d zabojstw, %d trafien, %0.2f%%%% eff. i %0.2f%%%% acc. YOUR_RANK_IS = Twoj ranking wynosi %d na %d Masz %d zabojstw, %d trafien, %0.2f%% eff. i %0.2f%% acc.
AMMO = amunicja AMMO = amunicja
HEALTH = zdrowie HEALTH = zdrowie
ARMOR = kamizelka ARMOR = kamizelka
@ -445,7 +445,7 @@ PLAYERS = Players
RANK_IS = rank is %d of %d RANK_IS = rank is %d of %d
DAMAGE = Schade DAMAGE = Schade
WEAPON = Wapen WEAPON = Wapen
YOUR_RANK_IS = Jouw rank is %d van de %d met %d kill(s), %d hit(s), %0.2f% eff. and %0.2f% acc. YOUR_RANK_IS = Jouw rank is %d van de %d met %d kill(s), %d hit(s), %0.2f%% eff. and %0.2f%% acc.
AMMO = ammo AMMO = ammo
HEALTH = health HEALTH = health
ARMOR = armor ARMOR = armor
@ -496,7 +496,7 @@ PLAYERS = Jugadores
RANK_IS = ranking es %d de %d RANK_IS = ranking es %d de %d
DAMAGE = Danyo DAMAGE = Danyo
WEAPON = Arma WEAPON = Arma
YOUR_RANK_IS = Tu ranking es %d de %d con %d frag(s), %d acierto(s), %0.2f% eff. y %0.2f% acc. YOUR_RANK_IS = Tu ranking es %d de %d con %d frag(s), %d acierto(s), %0.2f%% eff. y %0.2f%% acc.
AMMO = municion AMMO = municion
HEALTH = vida HEALTH = vida
ARMOR = armadura ARMOR = armadura
@ -547,7 +547,7 @@ PLAYERS = Jogadores
RANK_IS = Sua posicao e %d de %d RANK_IS = Sua posicao e %d de %d
DAMAGE = Dano DAMAGE = Dano
WEAPON = Arma WEAPON = Arma
YOUR_RANK_IS = Sua posicao e %d de %d com %d frag(s), %d acerto(s), %0.2f%%%% eff. e %0.2f%%%% prec. YOUR_RANK_IS = Sua posicao e %d de %d com %d frag(s), %d acerto(s), %0.2f%% eff. e %0.2f%% prec.
AMMO = municao AMMO = municao
HEALTH = Life HEALTH = Life
ARMOR = Colete ARMOR = Colete
@ -598,7 +598,7 @@ PLAYERS = Hraci
RANK_IS = pricka je %d z %d RANK_IS = pricka je %d z %d
DAMAGE = Poskozeni DAMAGE = Poskozeni
WEAPON = Zbran WEAPON = Zbran
YOUR_RANK_IS = Tvoje pricka je %d z %d s %d zabitimi, %d zasahy, %0.2f% eff. a %0.2f% acc. YOUR_RANK_IS = Tvoje pricka je %d z %d s %d zabitimi, %d zasahy, %0.2f%% eff. a %0.2f%% acc.
AMMO = strelivo AMMO = strelivo
HEALTH = zdravi HEALTH = zdravi
ARMOR = stity ARMOR = stity
@ -649,7 +649,7 @@ PLAYERS = Pelaajat
RANK_IS = sijoitus on %d / %d RANK_IS = sijoitus on %d / %d
DAMAGE = Damage DAMAGE = Damage
WEAPON = Ase WEAPON = Ase
YOUR_RANK_IS = Sijoituksesi on %d / %d: %d tappoa, %d osumaa, %0.2f% tehokkuus ja %0.2f% tarkkuus. YOUR_RANK_IS = Sijoituksesi on %d / %d: %d tappoa, %d osumaa, %0.2f%% tehokkuus ja %0.2f%% tarkkuus.
AMMO = ammukset AMMO = ammukset
HEALTH = hp HEALTH = hp
ARMOR = ap ARMOR = ap

View File

@ -13,7 +13,7 @@ TIME_ELEMENT_PERMANENTLY = permanently
TIME_ELEMENT_AND = and TIME_ELEMENT_AND = and
[de] [de]
TIME_ELEMENT_SECOND = Sekunden TIME_ELEMENT_SECOND = Sekunde
TIME_ELEMENT_SECONDS = Sekunden TIME_ELEMENT_SECONDS = Sekunden
TIME_ELEMENT_MINUTE = Minute TIME_ELEMENT_MINUTE = Minute
TIME_ELEMENT_MINUTES = Minuten TIME_ELEMENT_MINUTES = Minuten