Renamed zr_shield command to zshield so it's more chat command friendly.
This commit is contained in:
parent
5b7d1b2ff3
commit
7f6b1fb938
@ -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.
|
||||
|
@ -1297,7 +1297,7 @@ the admin-only flag in the <span class="code">flags</span> attribute.</p>
|
||||
<tr>
|
||||
<td class="valueoption">shield</td>
|
||||
<td>This is a temporary immunity mode which is activated by the player with
|
||||
the <code>zr_shield</code> command. It will give a shield against infections (humans) or
|
||||
the <code>zshield</code> command. It will give a shield against infections (humans) or
|
||||
knock back (zombies) for a certain amount of seconds (immunity_amount value).
|
||||
<br/><br/>
|
||||
It also has a cooldown delay before the shield can be deployed again.
|
||||
|
@ -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.");
|
||||
}
|
||||
|
||||
/*____________________________________________________________________________*/
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user