-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added API support
- Loading branch information
Showing
3 changed files
with
144 additions
and
5 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/* | ||
* | ||
* INCLUCE FOR THE SOURCEMOD PLUGIN; WARDEN MENU | ||
* https://forums.alliedmods.net/showthread.php?t=298907 | ||
* | ||
*/ | ||
#if defined cmenuincluded | ||
#endinput | ||
#endif | ||
#define cmenuincluded | ||
|
||
/** | ||
* Called when client opens the menu. | ||
* | ||
* @param client | ||
*/ | ||
forward void OnCMenuOpened(int client); | ||
|
||
/** | ||
* Called when an event day is created. | ||
*/ | ||
forward void OnEventDayCreated(); | ||
|
||
/** | ||
* Called when an event day is aborted. | ||
*/ | ||
forward void OnEventDayAborted(); | ||
|
||
/** | ||
* Check if there is a event day currently active. | ||
* | ||
* @return true if yes | ||
*/ | ||
native bool IsEventDayActive(); | ||
|
||
/** | ||
* Check if a Hide and Seek game is running. | ||
* | ||
* @return true if yes | ||
*/ | ||
native bool IsHnsActive(); | ||
|
||
/** | ||
* Check if a Gravity Freeday is running. | ||
* | ||
* @return true if yes | ||
*/ | ||
native bool IsGravFreedayActive(); | ||
|
||
/** | ||
* Check if a warday is running. | ||
* | ||
* @return true if yes | ||
*/ | ||
native bool IsWarActive(); | ||
|
||
/** | ||
* Check if a freeday is running. | ||
* | ||
* @return true if yes | ||
*/ | ||
native bool IsFreedayActive(); |