fix somethings

This commit is contained in:
AFCMS 2021-03-08 17:01:11 +01:00
parent 88a971fe6f
commit e334665365
2 changed files with 11 additions and 6 deletions

View File

@ -54,5 +54,6 @@ mcl_commands.overide_command("kill", function(cmd)
privs = {settime = true}
})
end, {
description = "Kill player or yourself.",
privs = {server = true},
})

View File

@ -116,12 +116,16 @@ mcl_commands.register_command("title", function(cmd)
cmd:sub(":name:username times :fadeIn:int :stay:int :fadeOut:int", function(name, target, fadeIn, stay, fadeOut) --WIP
return mcl_title.times(target, fadeIn, stay, fadeOut)
end)
cmd:sub(":name:username clear", function(name, target)
return mcl_title.clear(target)
end)
cmd:sub(":name:username reset", function(name, target)
return mcl_title.reset(target)
end)
cmd:sub(":name:username clear", {
func = function(name, target)
return mcl_title.clear(target)
end
})
cmd:sub(":name:username reset", {
func = function(name, target)
return mcl_title.reset(target)
end,
})
end, {
description = "Controls text displayed on the screen.",
privs = {