View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 10-16-2020 , 16:06   Re: [CSGO] Why MY Repeat Timer Stop PrintMessage
Reply With Quote #3

At least, because you have handles leak.
You need to close fileHandle.

Also, your file is just too large. It could be disk overloading /and/or console buffer overflow in constant calling PrintToConsole(). Need to check.
I would read it just once in a huge array and always access to that array only.

Never pass client id in timers, use UserId (retrieved by GetClientUserId()).

PS. Your math is a mind crack. There is surely something wrong.

Marttt, it is Plugin_Continue by default.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles]

Last edited by Dragokas; 10-16-2020 at 16:07.
Dragokas is offline