administrator.Faction faction
Faction defined in factions/sh_administrator.lua
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:37Called 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
nilThe new name, unused
Returns
- Boolean
falseto refuse the transfer