Est Armor

From EventScripts Community Encyclopedia
Syntax: est_Armor <players> <operator> <number>
Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Contents

Description

Modifies a players armor value by an operator

Parameters

  • players - See Est_PlayerSelection for player selection help
  • operator - Can be any of the following
    • + - adds armor
    • - - Subtracts armor
    • = - Sets armor
  • number - Amount of armor you want to add/subtract/set

Example


event player_spawn
{
  es est_Armor event_var(userid) + 25
  // Adds 25 armor to a player when that player spawns
}

Notes

  • None

See Also

blog comments powered by Disqus