Nothing Special   »   [go: up one dir, main page]

JRTW

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

#define VERSION "3.

1"

// Header includes.

#include "zr/log.h"

#include "zr/mels.h"

#include "zr/immunityhandler.h"

#if defined ADD_VERSION_INFO

#include "zr/hgversion.h"

#endif

// Core includes.

#include "zr/zombiereloaded"

#if defined ADD_VERSION_INFO

#include "zr/versioninfo"

#endif

#include "zr/translation"

#include "zr/cvars"

#include "zr/admintools"

#include "zr/log"

#include "zr/config"

#include "zr/steamidcache"

#include "zr/sayhooks"

#include "zr/tools"

#include "zr/menu"

#include "zr/cookies"
#include "zr/paramtools"

#include "zr/paramparser"

#include "zr/shoppinglist"

#include "zr/downloads"

#include "zr/overlays"

#include "zr/playerclasses/playerclasses"

#include "zr/models"

#include "zr/weapons/weapons"

#include "zr/hitgroups"

#include "zr/roundstart"

#include "zr/roundend"

#include "zr/infect"

#include "zr/immunityhandler"

#include "zr/damage"

#include "zr/event"

#include "zr/zadmin"

#include "zr/commands"

//#include "zr/global"

// Modules

#include "zr/account"

#include "zr/visualeffects/visualeffects"

#include "zr/soundeffects/soundeffects"

#include "zr/antistick"

#include "zr/knockback"

#include "zr/spawnprotect"

#include "zr/respawn"

#include "zr/napalm"

#include "zr/jumpboost"
#include "zr/zspawn"

#include "zr/ztele"

#include "zr/zhp"

#include "zr/zcookies"

#include "zr/volfeatures/volfeatures"

#include "zr/debugtools"

#include "zr/api/api"

/**

* Record plugin info.

*/

public Plugin:myinfo =

name = "Zombie:Reloaded",

author = "Greyscale | Richard Helgeby",

description = "Infection/survival style gameplay",

version = VERSION,

url = "http://forums.alliedmods.net/forumdisplay.php?f=132"

};

/**

* Called before plugin is loaded.

* @param myself The plugin handle.

* @param late True if the plugin was loaded after map change, false on map start.

* @param error Error message if load failed.

* @param err_max Max length of the error message.

*
* @return APLRes_Success for load success, APLRes_Failure or APLRes_SilentFailure otherwise.

*/

public APLRes:AskPluginLoad2(Handle:myself, bool:late, String:error[], err_max)

// Load API.

APIInit();

// Let plugin load.

return APLRes_Success;

/**

* Plugin is loading.

*/

public OnPluginStart()

UpdateGameFolder();

// Forward event to modules.

LogInit(); // Doesn't depend on CVARs.

TranslationInit();

CvarsInit();

ToolsInit();

CookiesInit();

CommandsInit();

WeaponsInit();

EventInit();

}
/**

* All plugins have finished loading.

*/

public OnAllPluginsLoaded()

// Forward event to modules.

WeaponsOnAllPluginsLoaded();

/**

* The map is starting.

*/

public OnMapStart()

// Forward event to modules.

ClassOnMapStart();

OverlaysOnMapStart();

RoundEndOnMapStart();

SEffectsOnMapStart();

ZSpawnOnMapStart();

VolInit();

You might also like