09-20-2013, 23:37
(This post was last modified: 09-21-2013, 06:38 by DidUknowiPwn.)
Okay so I have this function:
It updates the score to what the teams are at, it works but it doesn't work at the same time.
As in the score is at like 109 (9 players + 1 kill). I don't understand what's with it, is there a way to "remove" the score from going up?
Also I'm getting this script error now after a round:
Code:
updateTeamScores()
{
game["teamScores"]["axis"] = getNumInfected();
maps\mp\gametypes\_globallogic_score::_setTeamScore( "axis", getNumInfected() );
game["teamScores"]["allies"] = getNumSurvivors();
maps\mp\gametypes\_globallogic_score::_setTeamScore( "allies", getNumSurvivors() );
}
As in the score is at like 109 (9 players + 1 kill). I don't understand what's with it, is there a way to "remove" the score from going up?
Also I'm getting this script error now after a round:
Do not take life too seriously. You will never get out of it alive.