diff --git a/EXILED/Exiled.API/Features/Player.cs b/EXILED/Exiled.API/Features/Player.cs index 779982d2fb..2fb5e63638 100644 --- a/EXILED/Exiled.API/Features/Player.cs +++ b/EXILED/Exiled.API/Features/Player.cs @@ -676,6 +676,11 @@ public ScpSpawnPreferences.SpawnPreferences ScpPreferences /// public bool IsScp => Role?.Type.IsScp() ?? false; + /// + /// Gets a value indicating whether the player has enabled the "Opt out of SCP" setting, which prevents them from being assigned any SCP role. + /// + public bool IsOptedOutOfScp => ScpPlayerPicker.IsOptedOutOfScp(ReferenceHub); + /// /// Gets a value indicating whether the player's is any human rank. ///