Defines the whitelisted Administrator faction (FACTION_ADMIN), which uses the group17 human models and only accepts transfers from the Citizen faction.

Summary

Methods

Called when a player is transferred to the faction; only citizens can become administrators.

Methods

FACTION:OnTransferred(player, faction, name)

shared gamemodes/cwhl2rp/schema/factions/sh_administrator.lua:37

Called when a player is transferred to the faction; only citizens can become administrators.

Parameters

  • player Player The player
  • faction Faction The faction the player comes from
  • name String optional, defaults to nil The new name, unused

Returns

  • Boolean false to refuse the transfer

Defined in