Est gethealth
From EventScripts Community Encyclopedia
Syntax: est_gethealth <return var> <userid>Note: Command parameters are described inside the
< and > characters. Optional parameters are contained within [ and ] characters.
[edit] DescriptionFind out how much health the user has remaining. [edit] Parameters
[edit] Exampleevent player_say { if (event_var(text) == myhealth) do { es_xset health 0 es est_gethealth health event_var(userid) es_msg Everyone look! event_var(es_username) has server_var(health) health remaining! } }
[edit] See Also |
