Are you actually creating the timer outside of any function? Technically it may be nothing bad for SourcePawn, but it's against all SM standards and conventions. Also, I have no clue when would the entirety of that code be executed. Couple it with the TIMER_DATA_HNDL_CLOSE flag(which you most likely don't need) and you might get an idea of what you're doing wrong.