Private
Public Access
1
0

Added event on player death with timestamp

Added english locale for combinator
This commit is contained in:
Jan Grießhaber
2026-01-06 11:26:47 +01:00
parent d58c24b8d4
commit 765cd0bdd9
4 changed files with 12 additions and 2 deletions

View File

@@ -82,6 +82,10 @@ function GetPlayerDeaths()
return table.concat(deathParts, "\n")
end
function onPlayerDeath(event)
helpers.send_udp(udpAddress,("---player-died---\n%s:%s:%d"):format(event.player_index,game.players[event.player_index].name,event.tick),serverIndex)
end
function GetPlayerDeathCauses()
local deathParts = {}
deathParts[#deathParts + 1] = "---player-death-cause---\n"