mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
StatsX: Format roundend stats for each player individually
This commit is contained in:
parent
4de2bf21a3
commit
4afefa25d1
@ -1399,6 +1399,7 @@ public delay_resethud(args[])
|
|||||||
#endif
|
#endif
|
||||||
fGameTime = get_gametime()
|
fGameTime = get_gametime()
|
||||||
show_user_hudstats(id, fGameTime)
|
show_user_hudstats(id, fGameTime)
|
||||||
|
format_roundend_hudstats(id, g_sAwardAndScore)
|
||||||
show_roundend_hudstats(id, fGameTime, g_sAwardAndScore)
|
show_roundend_hudstats(id, fGameTime, g_sAwardAndScore)
|
||||||
|
|
||||||
// Reset round stats
|
// Reset round stats
|
||||||
@ -1587,6 +1588,11 @@ endround_stats()
|
|||||||
log_amx("End round stats")
|
log_amx("End round stats")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
save_team_chatscore(0, g_sScore)
|
||||||
|
|
||||||
|
// Get and save round end stats time.
|
||||||
|
g_fShowStatsTime = get_gametime()
|
||||||
|
|
||||||
for (iPlayer = 0; iPlayer < iPlayers; iPlayer++)
|
for (iPlayer = 0; iPlayer < iPlayers; iPlayer++)
|
||||||
{
|
{
|
||||||
id = iaPlayers[iPlayer]
|
id = iaPlayers[iPlayer]
|
||||||
@ -1595,19 +1601,8 @@ endround_stats()
|
|||||||
{
|
{
|
||||||
kill_stats(id)
|
kill_stats(id)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
format_roundend_hudstats(0, g_sAwardAndScore)
|
format_roundend_hudstats(id, g_sAwardAndScore)
|
||||||
|
|
||||||
save_team_chatscore(0, g_sScore)
|
|
||||||
|
|
||||||
// Get and save round end stats time.
|
|
||||||
g_fShowStatsTime = get_gametime()
|
|
||||||
|
|
||||||
// Display round end stats to all players.
|
|
||||||
for (iPlayer = 0; iPlayer < iPlayers; iPlayer++)
|
|
||||||
{
|
|
||||||
id = iaPlayers[iPlayer]
|
|
||||||
show_roundend_hudstats(id, 0.0, g_sAwardAndScore)
|
show_roundend_hudstats(id, 0.0, g_sAwardAndScore)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user