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
@@ -1,3 +1,5 @@
local RNDX = include("lib/rndx.lua")
local function RX(x) return x * (ScrW() / 1920) end
local function RY(y) return y * (ScrH() / 1080) end
+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