Hello everyone,
I seem to have a simple issue, yet I don't know why this is happening. Every once in a while, my chat timer will throw a lua error saying the timer was "broken". Can someone tell me if there is a problem with this code, or perhaps a better way to go about doing it?
local greencolor = Color( 25, 200, 25 )
local whitecolor = Color( 255, 255, 255 )
timer.Create( "my_timer", 300, 0, function()
chat.AddText(greencolor, "Enjoy playing on this server? Type ", whitecolor, "!donate ", greencolor, "in chat to ensure the server stays online.")
end)
Regards,
Organik