Summary

Methods

Returns whether the player's faction is one of Schema.CitizenFactions.
Returns whether the player belongs to Civil Protection, Overwatch or the administrator faction.

Methods

Player:IsCitizen()

shared gamemodes/cwhl2rp/schema/sh_schema.lua:421

Returns whether the player's faction is one of Schema.CitizenFactions.

The administrator faction counts as a citizen faction as well.

Returns

  • Boolean Whether the player is a citizen

Player:IsCombine()

shared gamemodes/cwhl2rp/schema/sh_schema.lua:399

Returns whether the player belongs to Civil Protection, Overwatch or the administrator faction.

On the server the player must also have a character loaded.

Returns

  • Boolean true when the player is Combine, otherwise nil

Defined in