Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added two new cvars. "dmtb_skip_suicide" and "dmtb_skip_disconnect" - Added API. See "dmtb_api.inc" - Some fixes
- Loading branch information
1 parent
7f0bee9
commit 79ed84d
Showing
3 changed files
with
98 additions
and
40 deletions.
There are no files selected for viewing
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
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,22 @@ | ||
#if defined _dmtb_api_included | ||
#endinput | ||
#endif | ||
#define _dmtb_api_included | ||
/* | ||
* Called before a player will be balanced | ||
* | ||
* @param id Index of a player | ||
* | ||
* @noreturn | ||
*/ | ||
forward OnBalancePlayerPre(id); | ||
/* | ||
* Called after a player is balanced | ||
* | ||
* @param id Index of a player | ||
* | ||
* @noreturn | ||
*/ | ||
forward OnBalancePlayerPost(id); |