17.10.2014, 01:23
https://sampforum.blast.hk/showthread.php?tid=375925
Quote:
SetTimer(Ex)
These functions are not very accurate and that they don't correctly support strings and arrays. Both these problems are now fixed to the best of my ability. I should note that the accuracy is still a little off because of the "sleep" call in the server internally, but they're MUCH better now. I've also improved their performance through the use of "std::priority_queue" so the next timers to trigger are always at the top of the list. A note when passing arrays, as with "CallLocalFunction" you MUST follow the array with its length as an extra parameter or the system has no way to know how big it is: pawn Код:
|