function Hi()
timer.Simple(0.05, function()
LocalPlayer():ConCommand("say /ooc hi")
end)
print("hi in console")
concommand.Add("hi", Hi)
timer.Simple(0.10, function()
RunConsoleCommand("hi")
end)
end
sry
nice memelocal spam = CreateClientConVar("spam", 0, true, false)
local spam_msg = CreateClientConVar("spam_msg", "/ooc spam", true, false)
local function spam_timer()
if !spam:GetBool() then return end
RunConsoleCommand("say", spam_msg:GetString())
end
timer.Create("spam", 1, 0, spam_timer)