Couch/EventNotifier changes
This commit is contained in:
@@ -639,12 +639,16 @@ bool IsClientRefused(int couch, int client, bool notify = true)
|
||||
return false;
|
||||
}
|
||||
|
||||
// Without the playtime plugin nobody is refused.
|
||||
// Without the playtime plugin nobody is refused. Admins (ADMFLAG_GENERIC by default) skip the
|
||||
// tier check; change who with an admin override on "sm_couch_tier_bypass".
|
||||
bool MeetsTier(int client, int required)
|
||||
{
|
||||
if (required <= 0)
|
||||
return true;
|
||||
|
||||
if (CheckCommandAccess(client, "sm_couch_tier_bypass", ADMFLAG_GENERIC))
|
||||
return true;
|
||||
|
||||
if (GetFeatureStatus(FeatureType_Native, "GetPlayerTier_native") != FeatureStatus_Available)
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user