1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-30 11:47:45 +00:00
kawari/resources/scripts/commands/gm/GiveItem.lua
Joshua Goins f1b9461eb2 Add the //gm item command back
I never actually finished the Lua version, oops.
2025-06-28 11:18:17 -04:00

9 lines
197 B
Lua

required_rank = GM_RANK_DEBUG
command_sender = "[item] "
function onCommand(args, player)
local id = args[1]
player:add_item(id)
printf(player, "Added %s to your inventory.", id)
end