Registers the admin command /CharSetDisease of the Diseases plugin, which sets the target character's diseases
character data to one of the diseases in cwDiseases.stored, where none cures the character.
Summary
Methods
OnRun(player, arguments)shared
Sets the target character's disease to the given name and notifies both players.
Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/cwhl2rp/plugins/diseases/plugin/commands/sh_charsetdisease.lua:14Sets the target character's disease to the given name and notifies both players.
The name has to be one of cwDiseases.stored; none cures the character.
Parameters
- player
- arguments