Registers the /CharBan command, which bans the target player's current character and kills them.

Summary

Methods

Bans the target player's current character and kills them; the arguments are the character name.

Methods

COMMAND:OnRun(player, arguments)

shared gamemodes/catwork/gamemode/core/commands/sh_charban.lua:13

Bans the target player's current character and kills them; the arguments are the character name.

Protected players cannot be banned.

Parameters

  • player
  • arguments

Defined in