cityrp.teamaccess
Team access groups for doors and vehicles.
- Sharedcityrp.teamaccess.InClanOf(ply, owner) → booleanSource ☍
-
Check if a player is in the same clan as another player.
Parameters
Returns
- booleanif both are in the same clan.
- Sharedcityrp.teamaccess.InGroupOf(ply, owner) → booleanSource ☍
-
Check if a player is in the door team group of another player's team. A team with no group gives no team access. Takes the players as arguments rather than as
selfso the vehicle checks can call it on anything with:Team().Parameters
Returns
- booleanif the player's team is in the owner's team group.
- Sharedcityrp.teamaccessSource ☍
-
Door and vehicle team access.
- Sharedcityrp.teamaccessSource ☍
-
Door and vehicle team access.
- Sharedcityrp.teamaccess.groupsSource ☍
-
Teams grouped for team access, keyed by the owner's team.
- Sharedcityrp.teamaccess.groupsSource ☍
-
Teams grouped for door and vehicle team access, keyed by the owner's team. Filled once the TEAM_* constants exist; a team with no entry has no group.