Added forgotten cvar to the config.
ZHP now uses client cookies. (Still need to make a menu and cookie-tize other settings.
This commit is contained in:
		@@ -28,6 +28,7 @@
 | 
			
		||||
#pragma semicolon 1
 | 
			
		||||
#include <sourcemod>
 | 
			
		||||
#include <sdktools>
 | 
			
		||||
#include <clientprefs>
 | 
			
		||||
#include <cstrike>
 | 
			
		||||
#include <zrtools>
 | 
			
		||||
 | 
			
		||||
@@ -45,6 +46,7 @@
 | 
			
		||||
#include "zr/serial"
 | 
			
		||||
#include "zr/sayhooks"
 | 
			
		||||
#include "zr/tools"
 | 
			
		||||
#include "zr/cookies"
 | 
			
		||||
#include "zr/paramtools"
 | 
			
		||||
#include "zr/models"
 | 
			
		||||
#include "zr/downloads"
 | 
			
		||||
@@ -116,6 +118,7 @@ public OnPluginStart()
 | 
			
		||||
    TranslationInit();
 | 
			
		||||
    CvarsInit();
 | 
			
		||||
    ToolsInit();
 | 
			
		||||
    CookiesInit();
 | 
			
		||||
    CommandsInit();
 | 
			
		||||
    WeaponsInit();
 | 
			
		||||
    EventInit();
 | 
			
		||||
@@ -166,6 +169,14 @@ public OnConfigsExecuted()
 | 
			
		||||
    ClassOnModulesLoaded();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Client cookies just finished loading from the database.
 | 
			
		||||
 */
 | 
			
		||||
public OnClientCookiesCached()
 | 
			
		||||
{
 | 
			
		||||
    // Forward event to modules.
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Client is joining the server.
 | 
			
		||||
 * 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user