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/PermissionTest.lua
The Dax a24e0a5658 Overhaul the Lua permissions:
-Renamed permissions to required_rank
-Don't panic when the script author omits required_rank
-Reset state in the global table after reading it, so scripts can refresh it each time
2025-06-20 14:02:46 -04:00

5 lines
143 B
Lua

required_rank = GM_RANK_MAX
function onCommand(args, player)
player:send_message("How did you run this? This shouldn't be runnable!")
end