Registers the superadmin command /PlySetGroup (alias /SetGroup), which puts the target player in the superadmin, admin or operator group and respawns them.

Summary

Methods

Sets the target player's user group and respawns them; arguments are the player name and the group.

Methods

COMMAND:OnRun(player, arguments)

shared gamemodes/catwork/gamemode/core/commands/sh_plysetgroup.lua:15

Sets the target player's user group and respawns them; arguments are the player name and the group.

The group must be superadmin, admin or operator.

Parameters

  • player
  • arguments

Defined in