Table of Contents

Lua CB CalcFinalScores

0@@

Description

This is called when the match has ended but before it shows the round report. Allows you to overide the final scores.

Version

Beta 3.1

Example

<lua> function CalcFinalScores()

for i=1,32 do
	if (IsValidPlayer(i) and GetPlayerTeam(i) ~= TEAM_SPECTATOR) then
		SetPlayerFinalScore(i, iPlayersLevel[[i]]);
	end
end

end

</lua>