1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-30 19:57:46 +00:00
kawari/resources/scripts/commands/debug/ToggleWireframe.lua

10 lines
257 B
Lua
Raw Normal View History

required_rank = GM_RANK_DEBUG
sender = "[wireframe] "
function onCommand(args, player)
local usage = "\nThis command allows the user to view the world in wireframe mode."
player:toggle_wireframe()
printf(player, "Wireframe mode toggled.")
end