forked from Nebual/NadmodPP
use ulx jail instead of ulx propban
This commit is contained in:
parent
0e7c721ce8
commit
47283a30f7
@ -417,7 +417,7 @@ function NADMOD.CleanPlayer(ply, tar)
|
|||||||
if IsValid(tar) and tar:IsPlayer() then
|
if IsValid(tar) and tar:IsPlayer() then
|
||||||
local count = NADMOD.CleanupPlayerProps(tar:SteamID())
|
local count = NADMOD.CleanupPlayerProps(tar:SteamID())
|
||||||
NADMOD.Notify((ply:IsValid() and ply:Nick() or "Console") .. " cleaned up " ..tar:Nick().."'s props ("..count..")")
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user