Hooked autobuy/rebuy, added fog to visual effects, create effect functions in visualeffects.inc, fixed ambience, hooked mp_restartgame, mother count is rounded to nearest instead of ceiling, recoded cvars.inc and added logging, recoded event.inc, killed respawn timers on round end.
This commit is contained in:
		@@ -23,12 +23,12 @@
 | 
			
		||||
// External api (not done)
 | 
			
		||||
//#include "zr/global"
 | 
			
		||||
 | 
			
		||||
// Cvars (core)
 | 
			
		||||
#include "zr/cvars"
 | 
			
		||||
 | 
			
		||||
// Log (core)
 | 
			
		||||
#include "zr/log"
 | 
			
		||||
 | 
			
		||||
// Cvars (core)
 | 
			
		||||
#include "zr/cvars"
 | 
			
		||||
 | 
			
		||||
// Translations (core)
 | 
			
		||||
#include "zr/translation"
 | 
			
		||||
 | 
			
		||||
@@ -90,6 +90,8 @@
 | 
			
		||||
#include "zr/sayhooks"
 | 
			
		||||
#include "zr/zadmin"
 | 
			
		||||
#include "zr/commands"
 | 
			
		||||
 | 
			
		||||
// Event
 | 
			
		||||
#include "zr/event"
 | 
			
		||||
 | 
			
		||||
public Plugin:myinfo =
 | 
			
		||||
@@ -120,12 +122,13 @@ public OnPluginStart()
 | 
			
		||||
    
 | 
			
		||||
    // ======================================================================
 | 
			
		||||
    
 | 
			
		||||
    // Log
 | 
			
		||||
    LogInit();
 | 
			
		||||
    
 | 
			
		||||
    // Cvars
 | 
			
		||||
    CvarsInit();
 | 
			
		||||
    CvarsHook();
 | 
			
		||||
    
 | 
			
		||||
    // TODO: Be modulized/recoded.
 | 
			
		||||
    HookEvents();
 | 
			
		||||
    HookChatCmds();
 | 
			
		||||
    CreateCommands();
 | 
			
		||||
    HookCommands();
 | 
			
		||||
@@ -138,6 +141,9 @@ public OnPluginStart()
 | 
			
		||||
    // Damage
 | 
			
		||||
    DamageInit();
 | 
			
		||||
    
 | 
			
		||||
    // Event
 | 
			
		||||
    EventInit();
 | 
			
		||||
    
 | 
			
		||||
    // ======================================================================
 | 
			
		||||
    
 | 
			
		||||
    g_bMarket = LibraryExists("market");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user