Raised This Month: $ Target: $400
 0% 

Lag on connect caused by SQL - need help.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Max!
Member
Join Date: Jun 2009
Old 07-04-2009 , 01:18   Re: Lag on connect caused by SQL - need help.
Reply With Quote #2

im a newbie to coding n such, but couldnt you loop through and set a task like
PHP Code:
new 1;
for(new 
i=033i++)
{
 if(
is_user_connected(i))
  {
    
set_task(j"function"i);
    
j++;
  }

if im not mistaken and thats what you want, it would set a task for one person every second.

edit: i have been informed by a trustworthy source that doing it that way is very bad.

darn

Last edited by Max!; 07-04-2009 at 01:25.
Max! 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 15:34.


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