use ulx jail instead of ulx propban

This commit is contained in:
edshot99 2024-12-22 21:52:47 -06:00
parent 0e7c721ce8
commit 47283a30f7

View File

@ -417,7 +417,7 @@ function NADMOD.CleanPlayer(ply, tar)
if IsValid(tar) and tar:IsPlayer() then
local count = NADMOD.CleanupPlayerProps(tar:SteamID())
NADMOD.Notify((ply:IsValid() and ply:Nick() or "Console") .. " cleaned up " ..tar:Nick().."'s props ("..count..")")
RunConsoleCommand("ulx", "propban", tar:Nick(), "1")
RunConsoleCommand("ulx", "jail", tar:Nick(), "60")
end
end