SetCharData command
Command defined in plugin/commands/sh_setcharacterdata.lua
Part of Catwork Dev Plugin
Registers the /SetCharData superadmin command (aliases /CharSetData and /SetCharacterData), which sets a
character data key on a target player and can only be run by Catwork developers.
Summary
Methods
OnRun(player, arguments)shared
Sets a character data key on the target player; only usable by developers (
catDev:IsDeveloper).Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/catwork/plugins/developer/plugin/commands/sh_setcharacterdata.lua:15Sets a character data key on the target player; only usable by developers (catDev:IsDeveloper).
The value is converted to the type of the existing value; table and userdata values cannot be set, and a number can only be replaced by a number.
Parameters
- player
- arguments