update std rules & add player.destroy binding

This commit is contained in:
MihailRis
2024-11-06 21:28:12 +03:00
parent df2f24d94e
commit d27179b6c3
9 changed files with 22 additions and 9 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ console.add_command(
local str = "Available commands:"
for i,k in ipairs(commands) do
if rules.get("cheat-commands") or not table.has(console.cheats, k) then
if rules.get("allow-cheats") or not table.has(console.cheats, k) then
str = str .. "\n " .. build_scheme(console.get_command_info(k))
end
end