From 119056f713e9be46d8c82414edda9b19ab291685 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Wed, 3 Jan 2024 20:29:24 +0500 Subject: [PATCH] :shrug: --- beatrun/gamemodes/beatrun/gamemode/sh/0_Misc.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/sh/0_Misc.lua b/beatrun/gamemodes/beatrun/gamemode/sh/0_Misc.lua index 9d9fda2..fc99325 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sh/0_Misc.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sh/0_Misc.lua @@ -6,7 +6,8 @@ if SERVER then local spawn = {"PlayerGiveSWEP", "PlayerSpawnEffect", "PlayerSpawnNPC", "PlayerSpawnObject", "PlayerSpawnProp", "PlayerSpawnRagdoll", "PlayerSpawnSENT", "PlayerSpawnSWEP", "PlayerSpawnVehicle"} local function BlockSpawn(ply) - if ply:IsAdmin() or allowPropSpawn:GetBool() then return true end + if ply:IsAdmin() then return true + elseif allowPropSpawn:GetBool() then return true end end for _, v in ipairs(spawn) do