Hook 'CheckTimers' Failed: invalid key to 'next'
This is an error I get when we start to play. I believe that this is the code that is causing the issue.
for k, ply in pairs(team.GetPlayers(5)) do
if ply.Queue then
time = "respawn".. ply:Nick() ..""
timer.Create( time, 1, ply.looptimes, Godmode, ply)
end
end
What would this error mean and what would cause it? I am trying to figure out what they mean by "key". Any help in the right direction is appreciated.
Solved: added timer.Simple(0.2, timer.Destroy, "queueTimer") to kill timer this is in and it seems to work now. Thanks for taking a look to help me though.
Sorry, you need to Log In to post a reply to this thread.