API GetPlayerHealth

From Vendetta Lua
Revision as of 04:25, 18 January 2016 by Chocolateer (Talk | contribs) (return includes shields percent)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

GetPlayerHealth

Definition: GetPlayerHealth(int charid) -> float health shields
Description:
get health of provided character
Arguments:
charid character id
Returns:
health health of character in percent or -1 if character is not in the current sector
shields shields of character in percent or nil if doesn't have shields