Textdraw bugs / SetTimerEx stops when press Alt+Tab
#1

Well, this never happens, or I never noticed about. But, on my server I have a Speedometer/Status check made in Textdraw (made by me/friend), and on Status check, he shows the Online time of a player.

But the Speedo and the Status check has a SetTimerEx setted when the player login on the server (by a dialog), and the function started for the player runs in 1 sec loop, increases 1 on the OnlineTime variable every sec, and decreases 1 on Reports/other commands variables every sec.

If a player press Alt+Tab, when he came back, the SetTimerEx stops from running, and the commands and Online Time system bugs (doesn't record the new values/unset the times). If player press Esc, doesn't stop, but if he press Alt+Tab, the timer stops.

Why this happens? I don't understand...

Thanks
Reply
#2

When a player is alt-tabbed you can't edit their variables. It just happens because the playerid is unresponsive.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)