ItsMods

Full Version: Infected Stuff is semi broken
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay so I have this function:
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() );
}
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?

[Image: bvr.png]

Also I'm getting this script error now after a round: [Image: 0fk.png]
Alright this can be moved to Archive I fixed the problem :3
This thread has been moved to the boards archive.
Contact a moderator in case you want to contribute to this thread.