2010-11-14 15:17:19 +01:00
|
|
|
/*
|
|
|
|
* ============================================================================
|
|
|
|
*
|
|
|
|
* Zombie:Reloaded
|
|
|
|
*
|
|
|
|
* File: zombiereloaded.inc
|
|
|
|
* Type: Include
|
|
|
|
* Description: Main API include file.
|
2016-02-06 00:47:47 +01:00
|
|
|
* Notes: Include this file to include the whole ZR API.
|
2010-11-14 15:17:19 +01:00
|
|
|
*
|
2013-01-12 08:47:36 +01:00
|
|
|
* Copyright (C) 2009-2013 Greyscale, Richard Helgeby
|
2010-11-14 15:17:19 +01:00
|
|
|
*
|
|
|
|
* 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>
|
2012-09-08 22:34:31 +02:00
|
|
|
#include <zr/class.zr>
|
2019-07-14 20:07:25 +02:00
|
|
|
#include <zr/napalm.zr>
|
2019-09-27 17:40:51 +02:00
|
|
|
#include <zr/knockback.zr>
|
2016-04-22 01:24:10 +02:00
|
|
|
|
2017-07-05 23:00:50 +02:00
|
|
|
public SharedPlugin __pl_zombiereloaded =
|
2016-04-22 01:24:10 +02:00
|
|
|
{
|
|
|
|
name = "zombiereloaded",
|
|
|
|
file = "zombiereloaded.smx",
|
|
|
|
#if defined REQUIRE_PLUGIN
|
|
|
|
required = 1
|
|
|
|
#else
|
|
|
|
required = 0
|
|
|
|
#endif
|
|
|
|
};
|
|
|
|
|
|
|
|
#if !defined REQUIRE_PLUGIN
|
2017-07-05 23:00:50 +02:00
|
|
|
public void __pl_zombiereloaded_SetNTVOptional()
|
2016-04-22 01:24:10 +02:00
|
|
|
{
|
|
|
|
MarkNativeAsOptional("ZR_IsValidClassIndex");
|
|
|
|
MarkNativeAsOptional("ZR_GetActiveClass");
|
|
|
|
MarkNativeAsOptional("ZR_SelectClientClass");
|
|
|
|
MarkNativeAsOptional("ZR_GetClassByName");
|
2019-11-01 16:17:50 +01:00
|
|
|
MarkNativeAsOptional("ZR_GetClassByIdentifier");
|
2016-04-22 01:24:10 +02:00
|
|
|
MarkNativeAsOptional("ZR_GetClassDisplayName");
|
2019-11-01 16:17:50 +01:00
|
|
|
MarkNativeAsOptional("ZR_GetClassIdentifier");
|
2016-04-22 01:24:10 +02:00
|
|
|
|
|
|
|
MarkNativeAsOptional("ZR_IsClientZombie");
|
|
|
|
MarkNativeAsOptional("ZR_IsClientHuman");
|
|
|
|
MarkNativeAsOptional("ZR_InfectClient");
|
|
|
|
MarkNativeAsOptional("ZR_HumanClient");
|
|
|
|
|
|
|
|
MarkNativeAsOptional("ZR_RespawnClient");
|
|
|
|
MarkNativeAsOptional("ZR_SetKilledByWorld");
|
|
|
|
MarkNativeAsOptional("ZR_GetKilledByWorld");
|
2019-09-27 17:40:51 +02:00
|
|
|
|
|
|
|
MarkNativeAsOptional("ZR_SetClientKnockbackScale");
|
2019-09-29 01:13:13 +02:00
|
|
|
MarkNativeAsOptional("ZR_SetClientKnockbackMaxForce");
|
|
|
|
MarkNativeAsOptional("ZR_SetClientKnockbackMaxVelocity");
|
2016-04-22 01:24:10 +02:00
|
|
|
}
|
|
|
|
#endif
|