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:
parent
9a188e1e7a
commit
aa6ec03ffc
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue