ajout de commentaire sur le code

This commit is contained in:
Xyoss committed 2026-06-27 08:18:07 +02:00
1 parent 875954ac63
commit 75428ef21d
5 files changed
+48 -88

No files matched your search

+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