1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-23 21:17:45 +00:00

Make //gm lv print a chat message on success

This commit is contained in:
Joshua Goins 2025-07-20 08:17:52 -04:00
parent 9a188e1e7a
commit aa6ec03ffc

View file

@ -1,5 +1,9 @@
required_rank = GM_RANK_DEBUG
command_sender = "[setlevel] "
function onCommand(args, player)
player:set_level(args[1])
local level = args[1]
player:set_level(level)
printf(player, "Set level to %s.", level)
end