Timer IDs Limit
#1

In "wiki.sa-mp.com", regarding function "SetTimerEx()", it is stated: "Timer IDs start at 1 and are never reused". Suppose we have a server which creates 100 timers per second. How long will it take till server run out of timer IDs and what then will happen?
Reply
#2

Quote:
Originally Posted by ******
Посмотреть сообщение
At 100 timers per second, it will take 497 days to wrap around. Then there are no checks so they will be reused. Even 0 will be used, despite being returned for invalid/unused timers (something I wanted to fix in fixes.inc).
Thank you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)