mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-27 20:43:02 +05:00
localize infection player
This commit is contained in:
parent
a9c14a168f
commit
45d9fa0d46
4 changed files with 7 additions and 3 deletions
|
@ -227,6 +227,8 @@ beatrun.deathmatch.start=Deathmatch! Kill players to get points!
|
|||
|
||||
# Infection
|
||||
beatrun.infection.name=Infection
|
||||
beatrun.infection.infectedtext=(Infected)
|
||||
beatrun.infection.humantext=(Human)
|
||||
beatrun.infection.start=Infection! Touch other players to infect them\n%s player(s) will become infected in %ss
|
||||
beatrun.infection.nosurvivors=None...
|
||||
beatrun.infection.infected=was infected!
|
||||
|
|
|
@ -227,6 +227,8 @@ beatrun.deathmatch.start=Deathmatch! Убивайте игроков чтобы
|
|||
|
||||
# Infection
|
||||
beatrun.infection.name=Infection
|
||||
beatrun.infection.infectedtext=(Заражённый)
|
||||
beatrun.infection.humantext=(Человек)
|
||||
beatrun.infection.start=Infection! Дотрагивайтесь до других игроков чтобы заразить их\n%s игрок(а/ов) будет выбрано через %s сек
|
||||
beatrun.infection.nosurvivors=Никто...
|
||||
beatrun.infection.infected=был заражён!
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
if SERVER then
|
||||
local allowPropSpawn = CreateConVar("Beatrun_AllowPropSpawn", "0", {FCVAR_ARCHIVE})
|
||||
local allowPropSpawn = CreateConVar("Beatrun_AllowPropSpawn", "0", {FCVAR_ARCHIVE})
|
||||
|
||||
if SERVER then
|
||||
util.AddNetworkString("SPParkourEvent")
|
||||
|
||||
local spawn = {"PlayerGiveSWEP", "PlayerSpawnEffect", "PlayerSpawnNPC", "PlayerSpawnObject", "PlayerSpawnProp", "PlayerSpawnRagdoll", "PlayerSpawnSENT", "PlayerSpawnSWEP", "PlayerSpawnVehicle"}
|
||||
|
|
|
@ -309,7 +309,7 @@ if CLIENT then
|
|||
|
||||
local function InfectionHUDName()
|
||||
if GetGlobalBool("GM_INFECTION") then
|
||||
local team = LocalPlayer():GetNW2Bool("Infected") and "(Infected)" or "(Human)"
|
||||
local team = LocalPlayer():GetNW2Bool("Infected") and language.GetPhrase("beatrun.infection.infectedtext") or language.GetPhrase("beatrun.infection.humantext")
|
||||
|
||||
return "Infection " .. team
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue