Raised This Month: $ Target: $400
 0% 

check client disconnect or team == 0 ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 01-30-2017 , 02:26   Re: check client deconnect or team == 0 ?
Reply With Quote #9

Quote:
You're creating a task to act like a think, so that means it should be repeatable
4) Yes, it is working
im said :
Quote:
PHP Code:
if(roundtime)
set_task(1.0,"round_think"// this time round chek events evry 1 sec 
so this task return to check round_think function evry 1 sec if roundtime found (roundtime = 2*60 so = 2mn) ... and this 1 sec its the time countdown of round i dont need to change that

Quote:
Doesn't it automatically set CT win if there's no T players?
Yes, and vice versa, but when it disconnect of the server not in the round (bcz my cod up cant check disconnect players to end the round) its clear ?
__________________

Last edited by abdobiskra; 01-30-2017 at 02:34.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
 



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 21:03.


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