ajout de commentaire sur le code

This commit is contained in:
2026-06-27 08:18:07 +02:00
parent 875954ac63
commit 75428ef21d
5 changed files with 48 additions and 88 deletions
+2 -1
View File
@@ -29,10 +29,11 @@ hook.Add("PlayerDeath", "bladw_ds_open", function(victim, inflictor, attacker)
killerName = string.upper(attacker:Nick())
end
-- Adjusts respawn delay based on players in a specified team.
local hasResponder = false
for _, p in ipairs(player.GetAll()) do
local job = p:getDarkRPVar("job")
if job == "Citizen" or job == "Citizen" then
if job == "Citizen" or job == "Citizen" then
hasResponder = true
break
end