Raised This Month: $ Target: $400
 0% 

tickcount() problem.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BalkY
Junior Member
Join Date: Sep 2007
Location: Bulgaria
Old 03-29-2009 , 08:35   tickcount() problem.
Reply With Quote #1

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.

Last edited by BalkY; 03-29-2009 at 10:27.
BalkY is offline
Send a message via Skype™ to BalkY
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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