Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local nothing = function() end
- if ULib then
- ULib.kick = nothing
- ULib.ban = nothing
- ULib.addBan = nothing
- end
- if FAdmin then
- local tbl = {
- "kick",
- "ban",
- "jail",
- "UnJail",
- "ClearDecals",
- "StopSounds",
- "CleanUp"
- }
- for i=1, #tbl do
- FAdmin.Commands.AddCommand(tbl[i], nothing)
- end
- end
- local meta = debug.getregistry().Player
- meta.Ban = nothing
- meta.Kick = nothing
- game.KickID = nothing
- local _ = RunConsoleCommand
- function RunConsoleCommand(command, ...)
- if command == "addip" then return end
- _(command, ...)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement