Player class
Summary
Methods
IsCitizen()shared
Returns whether the player's faction is one of
Schema.CitizenFactions.IsCombine()shared
Returns whether the player belongs to Civil Protection, Overwatch or the administrator faction.
Methods
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
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
truewhen the player is Combine, otherwisenil