1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-30 11:47:45 +00:00
kawari/resources/scripts/commands/debug/ToggleWireframe.lua
The Dax 385672d797 Add support on the Rust side for resetting the command identifier.
-sender was also renamed to command_sender in case we'd like to reserve the word "sender" in the future.
2025-06-26 07:47:05 -04:00

9 lines
265 B
Lua

required_rank = GM_RANK_DEBUG
command_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