diff --git a/cstrike/addons/sourcemod/configs/zr/playerclasses.txt b/cstrike/addons/sourcemod/configs/zr/playerclasses.txt index 86ab719..dd78544 100644 --- a/cstrike/addons/sourcemod/configs/zr/playerclasses.txt +++ b/cstrike/addons/sourcemod/configs/zr/playerclasses.txt @@ -39,7 +39,7 @@ // "infect" - Humans are immune to infections until HP go below a threshold. Threshold at zero enable stabbing to death. // "damage" - Zombies are immune to damage from humans/grenades, but still vulnerable to knock back. // "delay" - Delay infection for a certain number of seconds. -// "shield" - Shield against infections (humans) or knock back (zombies) for a certain amount of seconds (similar to TF2's übercharge). +// "shield" - Shield against infections (humans) or knock back (zombies) for a certain amount of seconds (similar to TF2's übercharge). Deploy with "zshield" command. // immunity_amount number Immunity data value (humans only). Depends on the immunity mode above: // "infect" - HP threshold. Infection will be allowed when HP go below this value. Zero will enable stabbing to death. // "delay" - Number of seconds the infection is delayed since first hit by a zombie. diff --git a/docs/zr_manual.htm b/docs/zr_manual.htm index 9e6ac54..59a56b0 100644 --- a/docs/zr_manual.htm +++ b/docs/zr_manual.htm @@ -1297,7 +1297,7 @@ the admin-only flag in the flags attribute.

shield This is a temporary immunity mode which is activated by the player with - the zr_shield command. It will give a shield against infections (humans) or + the zshield command. It will give a shield against infections (humans) or knock back (zombies) for a certain amount of seconds (immunity_amount value).

It also has a cooldown delay before the shield can be deployed again. diff --git a/src/zr/immunityhandler.inc b/src/zr/immunityhandler.inc index 1b026f1..14c8da8 100644 --- a/src/zr/immunityhandler.inc +++ b/src/zr/immunityhandler.inc @@ -67,7 +67,7 @@ new bool:PlayerImmunityThresholdPassed[MAXPLAYERS + 1] = {false, ...}; */ ImmunityOnCommandsCreate() { - RegConsoleCmd("zr_shield", Command_DeployShield, "Deploy the shield, if available."); + RegConsoleCmd(SAYHOOKS_KEYWORD_ZSHIELD, Command_DeployShield, "Deploy the shield, if available."); } /*____________________________________________________________________________*/ diff --git a/src/zr/sayhooks.inc b/src/zr/sayhooks.inc index 1020a09..e739564 100644 --- a/src/zr/sayhooks.inc +++ b/src/zr/sayhooks.inc @@ -50,6 +50,7 @@ #define SAYHOOKS_KEYWORD_ZTELE "ztele" #define SAYHOOKS_KEYWORD_ZHP "zhp" #define SAYHOOKS_KEYWORD_ZMARKET "zmarket" +#define SAYHOOKS_KEYWORD_ZSHIELD "zshield" /** * @endsection */