AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   tickcount() problem. (https://forums.alliedmods.net/showthread.php?t=88802)

BalkY 03-29-2009 08:35

tickcount() problem.
 
Hello, the problem is that sometimes I got bug with this command. I use it in that way - when some climber star the climb timer its set the tickcount() in the array: ticks[id] = tickcount(), and when the climber stops the climb timer it goes like this: finishticks[id] = (tickcount() - ticks[id]). So while the timer is on sometimes the timer goes -551231 (ticks[id] = -5123123 ) without reason. I show the ticks with set_task(0.1, ...) and hudmessage. Thanks for your time.


All times are GMT -4. The time now is 08:52.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.