Fixed bunch of includes and a warnings Added ip addresses for admins to status KnifeAlert prints to everyone now if someone gets infected due to a knifed zombie Fixed WeaponCleaner not registering weapons if somebody disconnects Refactored custom-chatcolors to new syntax, added autoreplace and some fixes Added GFLClan.ru support to immunityreservedslots added nominate_removemap to mapchooser_extended and fixed a bug for recently played maps
		
			
				
	
	
		
			68 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			SourcePawn
		
	
	
	
	
	
			
		
		
	
	
			68 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			SourcePawn
		
	
	
	
	
	
/*
 | 
						|
 * ============================================================================
 | 
						|
 *
 | 
						|
 *  Zombie:Reloaded
 | 
						|
 *
 | 
						|
 *  File:          zombiereloaded.inc
 | 
						|
 *  Type:          Include
 | 
						|
 *  Description:   Main API include file.
 | 
						|
 *  Notes:         Include this file to include the whole ZR API.
 | 
						|
 *
 | 
						|
 *  Copyright (C) 2009-2013  Greyscale, Richard Helgeby
 | 
						|
 *
 | 
						|
 *  This program is free software: you can redistribute it and/or modify
 | 
						|
 *  it under the terms of the GNU General Public License as published by
 | 
						|
 *  the Free Software Foundation, either version 3 of the License, or
 | 
						|
 *  (at your option) any later version.
 | 
						|
 *
 | 
						|
 *  This program is distributed in the hope that it will be useful,
 | 
						|
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
						|
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
						|
 *  GNU General Public License for more details.
 | 
						|
 *
 | 
						|
 *  You should have received a copy of the GNU General Public License
 | 
						|
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
						|
 *
 | 
						|
 * ============================================================================
 | 
						|
 */
 | 
						|
 | 
						|
#if defined _zr_included
 | 
						|
 #endinput
 | 
						|
#endif
 | 
						|
#define _zr_included
 | 
						|
 | 
						|
#include <zr/infect.zr>
 | 
						|
#include <zr/respawn.zr>
 | 
						|
#include <zr/class.zr>
 | 
						|
 | 
						|
public SharedPlugin:__pl_zombiereloaded =
 | 
						|
{
 | 
						|
    name = "zombiereloaded",
 | 
						|
    file = "zombiereloaded.smx",
 | 
						|
#if defined REQUIRE_PLUGIN
 | 
						|
    required = 1
 | 
						|
#else
 | 
						|
    required = 0
 | 
						|
#endif
 | 
						|
};
 | 
						|
 | 
						|
#if !defined REQUIRE_PLUGIN
 | 
						|
public __pl_zombiereloaded_SetNTVOptional()
 | 
						|
{
 | 
						|
    MarkNativeAsOptional("ZR_IsValidClassIndex");
 | 
						|
    MarkNativeAsOptional("ZR_GetActiveClass");
 | 
						|
    MarkNativeAsOptional("ZR_SelectClientClass");
 | 
						|
    MarkNativeAsOptional("ZR_GetClassByName");
 | 
						|
    MarkNativeAsOptional("ZR_GetClassDisplayName");
 | 
						|
 | 
						|
    MarkNativeAsOptional("ZR_IsClientZombie");
 | 
						|
    MarkNativeAsOptional("ZR_IsClientHuman");
 | 
						|
    MarkNativeAsOptional("ZR_InfectClient");
 | 
						|
    MarkNativeAsOptional("ZR_HumanClient");
 | 
						|
 | 
						|
    MarkNativeAsOptional("ZR_RespawnClient");
 | 
						|
    MarkNativeAsOptional("ZR_SetKilledByWorld");
 | 
						|
    MarkNativeAsOptional("ZR_GetKilledByWorld");
 | 
						|
}
 | 
						|
#endif
 |