obsolete:lua:lua_cb_calcfinalscores
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>
obsolete/lua/lua_cb_calcfinalscores.txt ยท Last modified: 2023/09/03 18:43 by 127.0.0.1