TeamManager: Remove cvar, use API call.

This commit is contained in:
zaCade
2019-01-23 18:53:42 +01:00
parent 69589affea
commit 159f9f846c
2 changed files with 16 additions and 4 deletions
+8
View File
@@ -74,6 +74,14 @@ native int ZR_InfectClient(int client, int attacker = -1, bool motherInfect = fa
*/
native int ZR_HumanClient(int client, bool respawn = false, bool protect = false);
/**
* Called on infection timer to determine if timer should show.
*
* @return Plugin_Continue to allow timer. Anything else
* (Like Plugin_Handled) to block timer.
*/
forward Action ZR_OnInfectCountdown();
/**
* Called when a player is about to become a zombie.
* Here you can modify any variable or block the infection entirely.