Raised This Month: $ Target: $400
 0% 

Round Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MPD
Member
Join Date: May 2013
Location: Lithuania
Old 06-01-2013 , 13:48   Re: Round Help
Reply With Quote #1

I have one question - why to exit their cs? Some of them may want to play in other server after match or what ever it will be.

shouldn't this
PHP Code:
if( g_iTScore || g_iCTScore == winlimit 
be
PHP Code:
if( (g_iTScore || g_iCTScore) == winlimit 
or
PHP Code:
if( g_iTScore == winlimit || g_iCTScore == winlimit 
because it checks if g_iTScore is not 0 or g_iCTScore equals to winlimit. (not sure for first variant)

Also I think that
PHP Code:
        case 1:
        {
            
g_iCTScore read_data(2)
        } 
should be
PHP Code:
        case 1:
        {
            
g_iCTScore read_data(2)
            
CheckScore(id)
        } 
Because (in my opinion, I don't really know) if CT gets all the score nothing will happen, because checking won't be called.
I suggest to change "exit" to "disconnect".

Last edited by MPD; 06-01-2013 at 13:54.
MPD is offline
Send a message via Skype™ to MPD
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 16:17.


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