CharSetAttribute command
Command defined in plugin/commands/sh_charsetattribute.lua
Part of Extra Commands
Registers the superadmin command /CharSetAttribute of the Extra Commands plugin, which sets an attribute of the
target character to the given amount.
Summary
Methods
OnRun(player, arguments)shared
Sets an attribute of the target character to the given amount.
Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/cwhl2rp/plugins/extracommands/plugin/commands/sh_charsetattribute.lua:15Sets an attribute of the target character to the given amount.
The amount is clamped between 0 and the attribute's maximum by cw.attributes:Update, and the player is told
the resulting value.
Parameters
- player
- arguments