New plugins: ChatFilter2, OverheadChat, EventGreeting. Updated: HostnameManager, Leader3 (chat and markers), NameFilter2 (plugin and config), PlayerRankings_nohlstats (rank display modes), custom-chatcolors (plugin and ccc.inc), Extend (sm_settimeleft). Add shared includes the plugins build against: Break, ChatFilter2, Couch, EventNotifier, TransmitManager, leader, ripext, unloze_playtime.
52 lines
786 B
SourcePawn
52 lines
786 B
SourcePawn
#if defined _Break_include
|
|
#endinput
|
|
#endif
|
|
#define _Break_include
|
|
|
|
/**
|
|
* Called when a break is started
|
|
*
|
|
* @return None
|
|
*/
|
|
forward void Break_OnBreakStarted();
|
|
|
|
/**
|
|
* Called when a break is finished
|
|
*
|
|
* @return None
|
|
*/
|
|
forward void Break_OnBreakFinished();
|
|
|
|
/**
|
|
* Called when a break is cancelled
|
|
*
|
|
* @return None
|
|
*/
|
|
forward void Break_OnBreakCancelled();
|
|
|
|
/**
|
|
* Returns if a break is active
|
|
*
|
|
* @return True when in break, false otherwise
|
|
*/
|
|
native bool Break_IsBreakActive();
|
|
|
|
public SharedPlugin __pl_Break =
|
|
{
|
|
name = "Break",
|
|
file = "Break.smx",
|
|
|
|
#if defined REQUIRE_PLUGIN
|
|
required = 1
|
|
#else
|
|
required = 0
|
|
#endif
|
|
};
|
|
|
|
#if !defined REQUIRE_PLUGIN
|
|
public void __pl_Break_SetNTVOptional()
|
|
{
|
|
MarkNativeAsOptional("Break_IsBreakActive");
|
|
}
|
|
#endif
|