Est SetArmor
From EventScripts Community Encyclopedia
Syntax: est_SetArmor <identifier> <value>Note: Command parameters are described inside the
< and > characters. Optional parameters are contained within [ and ] characters.
[edit] DescriptionSets the armor for the playerselection to the value [edit] Parameters
[edit] Exampleevent player_hurt { if ("give_me_armor" in event_var(es_username)) do { // show them a little easter egg es_tell event_var(userid) #green ok, I will be gracious. Take 5 armor! es_set player_health 0 es est_GetArmor player_health event_var(userid) es_math player_health + 5 es est_SetArmor event_var(userid) server_var(player_health) } } [edit] Notes
[edit] See Also |
