ajout de commentaire sur le code
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user