Raised This Month: $ Target: $400
 0% 

How to query not all at once


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kileedyg
BANNED
Join Date: Dec 2008
Location: Lithuania
Old 07-05-2012 , 13:03   How to query not all at once
#1

for example using
PHP Code:
query_client_cvar 
PHP Code:
#include <amxmodx>
#include <amxmisc>

public client_connect(id) {
if (
task_exists(id)) {
remove_task(id)
set_task(0.5,"query1",id)
}
if (
task_exists(id)) {
remove_task(id)
set_task(0.5,"query2",id)
}
if (
task_exists(id)) {
remove_task(id)
set_task(0.5,"query3",id)
}
}

public 
query1(id) {
    
/*
        QUERY_CLIENT_CVAR
        CODES HERE
    */
 
}

public 
query2(id) {
    
/*
        QUERY_CLIENT_CVAR
        CODES HERE
    */
 
}

public 
query3(id) {
    
/*
        QUERY_CLIENT_CVAR
        CODES HERE
    */
 

i still got overflowing querying cvars, some tips please

Last edited by kileedyg; 07-05-2012 at 13:04.
kileedyg is offline
Send a message via Skype™ to kileedyg
 



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:24.


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