Пример #1
0
void RabidRabbitEventHandler::Cleanup(void)
{
  Flush();
  bz_removeCustomMapObject("RABIDRABBITZONE");
  bz_removeCustomMapObject("RRSOUNDOFF");
  bz_removeCustomMapObject("RRCYCLEONDIE");
}
Пример #2
0
void KOTHHandler::Cleanup(void){

	Flush();
	bz_removeCustomMapObject("KOTH");
	bz_removeCustomSlashCommand("kothstatus");
	bz_removeCustomSlashCommand("kothon");
	bz_removeCustomSlashCommand("kothoff");
	bz_removeCustomSlashCommand("kothsoundon");
	bz_removeCustomSlashCommand("kothsoundoff");
	bz_removeCustomSlashCommand("kothtimemult");
	bz_removeCustomSlashCommand("kothtimemultmin");
	bz_removeCustomSlashCommand("kothtime");
	bz_removeCustomSlashCommand("kothautotimeon");
	bz_removeCustomSlashCommand("kothautotimeoff");
	bz_removeCustomSlashCommand("kingsay");
}
Пример #3
0
void KeepAwayEventHandler::Cleanup(void)
{
	Flush();
	bz_removeCustomMapObject("keepaway");
	bz_removeCustomSlashCommand("kastatus");
	bz_removeCustomSlashCommand("kaon");
	bz_removeCustomSlashCommand("kaoff");
	bz_removeCustomSlashCommand("katimemult");
	bz_removeCustomSlashCommand("katimemultmin");
	bz_removeCustomSlashCommand("katime");
	bz_removeCustomSlashCommand("kaautotimeon");
	bz_removeCustomSlashCommand("kaautotimeoff");
	bz_removeCustomSlashCommand("kas");
	bz_removeCustomSlashCommand("kaffon");
	bz_removeCustomSlashCommand("kaffoff");
	bz_removeCustomSlashCommand("kaf");
	bz_removeCustomSlashCommand("kaf+");
	bz_removeCustomSlashCommand("kasoundon");
	bz_removeCustomSlashCommand("kasoundoff");
	bz_removeCustomSlashCommand("kaflagreseton");
	bz_removeCustomSlashCommand("kaflagresetoff");
}
Пример #4
0
BZF_PLUGIN_CALL int bz_Unload(void)
{
  bz_removeEvent(bz_ePlayerUpdateEvent, &kotheventhandler);
  bz_removeEvent(bz_ePlayerPausedEvent, &kothplayerpaused);
  bz_removeEvent(bz_ePlayerPartEvent, &kothplayerleft);
  bz_removeEvent(bz_ePlayerJoinEvent, &kothplayerjoined);
  bz_removeEvent(bz_ePlayerDieEvent, &kothplayerdied);
  bz_debugMessage(4, "koth plugin unloaded");
  bz_removeCustomMapObject("KOTH");
  bz_removeCustomSlashCommand("kothstatus");
  bz_removeCustomSlashCommand("kothon");
  bz_removeCustomSlashCommand("kothoff");
  bz_removeCustomSlashCommand("kothsoundon");
  bz_removeCustomSlashCommand("kothsoundoff");
  bz_removeCustomSlashCommand("kothtimemult");
  bz_removeCustomSlashCommand("kothtimemultmin");
  bz_removeCustomSlashCommand("kothtime");
  bz_removeCustomSlashCommand("kothautotimeon");
  bz_removeCustomSlashCommand("kothautotimeoff");
  bz_removeCustomSlashCommand("kingsay");
  bz_clearMaxWaitTime("KOTH");
  return 0;
}
Пример #5
0
void EventHandler::Cleanup ( void )
{
  Flush();
  bz_removeCustomMapObject("FLAGSTAYZONE");
}