Raised This Month: $ Target: $400
 0% 

is many set_task make server lag?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DSASDFGH
Senior Member
Join Date: Jul 2011
Location: Facebook
Old 07-19-2011 , 16:24   is many set_task make server lag?
Reply With Quote #1

hi, my steam friends tells many use the set_task is make server lag.

is it true?
DSASDFGH is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-19-2011 , 16:56   Re: is many set_task make server lag?
Reply With Quote #2

It depends on the situation.
__________________
fysiks is offline
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 07-19-2011 , 17:33   Re: is many set_task make server lag?
Reply With Quote #3

Nope, if the lags are made it's probably because of the function it is being sent to.
Diegorkable is offline
HBxander
Senior Member
Join Date: Jan 2011
Location: Behind you!
Old 07-20-2011 , 20:22   Re: is many set_task make server lag?
Reply With Quote #4

Depends on if you remake it every 0.1 seconds, if you do that with 100 set_tasks, it will make you lagg alot, but if its with 4 or 5 set_tasks, that is only once / round or activated on something, it doesnt matter. Not making your server lagg at all .
__________________
Selling:

- PointMod for Hide And Seek - $20
- Private BlockMaker with Weapon Block And More - $50
- Achievements ( FFA GamePlay ) - $25

PM Me about Private Work!
HBxander is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-20-2011 , 21:05   Re: is many set_task make server lag?
Reply With Quote #5

set_task isn't the most efficient means of looping/delaying code to begin with. Whether or not a lag is experienced really depends on the function being called and the interval used.
__________________
Bugsy is offline
Reply



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 00:47.


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