Raised This Month: $ Target: $400
 0% 

CVAR not working with time HELP


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 09-10-2004 , 08:12  
Reply With Quote #2

1. set_task(1.0,"print_timeleft(id)",3425,"b") << U cant pass id that way

You also have this loop
set_task(1.0,"timer",1093,array[0],1,"b")
calling this one EVERY SECOND
set_task(1.0,"print_timeleft(id)",3425,"b")
and that loop calls another function every second and in the end its such a big lag ur making. One of those loops should only run ONCE.


Also try making the cvar an ACTUAL float
Freecode is offline
 



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 17:11.


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