API GetPlayerHealth

From Vendetta Lua
Jump to navigationJump to 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