Files
VnUtest/garrysmod/lua/autorun/server/sv_hostname_force.lua
2026-03-31 10:27:04 +03:00

18 lines
422 B
Lua

local ForceHostname = "FT 4.0 | Война на Украине | ВАЙП"
local function EnforceHostname()
if GetConVar("hostname"):GetString() ~= ForceHostname then
RunConsoleCommand("hostname", ForceHostname)
end
end
hook.Add("Think", "ForceHostnameAggressive", function()
EnforceHostname()
end)
timer.Create("ForceHostnameTimer", 0.1, 0, function()
EnforceHostname()
end)
EnforceHostname()