Add new forward ZR_OnClientMotherZombieEligible for excluding clients from mother zombie eligible list.

This commit is contained in:
2017-08-07 16:31:20 +02:00
parent 1e90596ddc
commit 0f6b46a962
3 changed files with 37 additions and 0 deletions

View File

@ -121,3 +121,13 @@ forward Action ZR_OnClientHuman(int &client, bool &respawn, bool &protect);
* @param protect Whether the client has spawn protection.
*/
forward void ZR_OnClientHumanPost(int client, bool respawn, bool protect);
/**
* Called in ZRCreateEligibleClientList to determine if a client is eligible to become infected.
*
* @param client The client index.
*
* @return Plugin_Handled is not eligible. Anything else
* (like Plugin_Continue) is eligible.
*/
forward Action ZR_OnClientMotherZombieEligible(int client);