I have had a timer, just one, in my script for a while now. - no problems. I've tried adding a second timer, and now I can't connect to my server. This happens and I get stuck there: https://imgur.com/a/GStCTXB . Adding just NewTimer works fine, it's when I add the timer function that the problem occurs. E.g:
onScriptLoad()
{
NewTimer("TimerOneName", 1000, 0);
NewTimer("TimerTwoName", 500, 0);
}
I can still connect with that. But:
onScriptLoad()
{
NewTimer("TimerOneName", 1000, 0);
NewTimer("TimerTwpName", 500, 0);
}
function TimerOneName()
{
}
function TimerTwoName()
{
}
I can't connect with that.
Edit: I modified the position of the functions and now it's working. Strange.