mirror of
https://github.com/redstrate/Kawari.git
synced 2025-06-30 19:57:46 +00:00
12 lines
345 B
Lua
12 lines
345 B
Lua
![]() |
required_rank = GM_RANK_DEBUG
|
||
|
|
||
|
function onCommand(args, player)
|
||
|
local parts = split(args)
|
||
|
local argc = table.getn(parts)
|
||
|
local sender = "[wireframe] "
|
||
|
local usage = "\nThis command allows the user to view the world in wireframe mode."
|
||
|
|
||
|
player:toggle_wireframe()
|
||
|
player:send_message(sender.."Wireframe mode toggled.")
|
||
|
end
|