landsandboat/scripts/commands/capallskills.lua

19 lines
376 B
Lua

-----------------------------------
-- func: capallskills
-- desc: Caps all the players skills.
-----------------------------------
---@type TCommand
local commandObj = {}
commandObj.cmdprops =
{
permission = 1,
parameters = ''
}
commandObj.onTrigger = function(player)
player:capAllSkills()
player:printToPlayer('All skills capped!')
end
return commandObj