View Single Post
Sanjay Singh
Senior Member
Join Date: Sep 2016
Old 12-03-2019 , 10:26   Re: Check for winning team
Reply With Quote #12

Quote:
Originally Posted by instinctpt1 View Post
There should be additional checks too + i have done mistake in get_players its "TERRORIST" not just "T"

Additional check for SecondHalfStarted must be there coz FirstCaptainTeanName changes acc to that

Explanation: If second half has started ( boolean: isSecondHalfStarted ) then FirstCaptainTeamName corresponds to SecondTeamScore rather than ScoreFrstTeam [ Head over to line 632 in sma u will see how its working ]
I am confused over it so if you know it better how it can be done then I expect code.
__________________
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh