DarkRP PlayerDied

I can’t find file, where written code when player die(example: I want add Spawn Delay. Where i should put the code?)

https://github.com/FPtje/DarkRP/blob/master/gamemode/server/gamemode_functions.lua line 364 and onwards a bit.