Staff command that sets the gender of the characters of one or more players to male, female or no_gender.

Summary

Methods

Sets the gender of every target's character and notifies the targets and staff.

Methods

CMD:on_run(actor, targets, new_gender)

shared plugins/characters/plugin/commands/sh_charsetgender.lua:16

Sets the gender of every target's character and notifies the targets and staff.

Parameters

  • actor Player the player who ran the command
  • targets List<Player> players matched by the first command argument
  • new_gender String 'male', 'female' or 'no_gender'

Defined in