mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-16 21:33:46 +03:00
21 lines
559 B
Lua
21 lines
559 B
Lua
--[[
|
|
| This file was obtained through the combined efforts
|
|
| of Madbluntz & Plymouth Antiquarian Society.
|
|
|
|
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
|
| Maloy, DrPepper10 @ RIP, Atle!
|
|
|
|
|
| Visit for more: https://plymouth.thetwilightzone.ru/
|
|
--]]
|
|
|
|
hook.Add("CreateTeams", "ArcCW_TrueNames", function()
|
|
if !ArcCW.ConVars["truenames"]:GetBool() then return end
|
|
|
|
for _, i in pairs(weapons.GetList()) do
|
|
local wpn = weapons.GetStored(i.ClassName)
|
|
|
|
if wpn.TrueName then
|
|
wpn.PrintName = wpn.TrueName
|
|
end
|
|
end
|
|
end) |