Add initial version of safety checks for CS:GO to attempt to avoid user GSLT bans.
This commit is contained in:
@@ -170,6 +170,15 @@ bool SDKTools::SDK_OnLoad(char *error, size_t maxlength, bool late)
|
||||
|
||||
InitSDKToolsAPI();
|
||||
|
||||
#if SOURCE_ENGINE == SE_CSGO
|
||||
m_bFollowCSGOServerGuidelines = true;
|
||||
const char *pszValue = g_pSM->GetCoreConfigValue("FollowCSGOServerGuidelines");
|
||||
if (pszValue && strcasecmp(pszValue, "no") == 0)
|
||||
{
|
||||
m_bFollowCSGOServerGuidelines = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user