GetMaxHealth

From GT-MP
Jump to: navigation, search
GetMaxHealth
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Returns the current maximum health of the local player. Default maximum health is 100.

Syntax

API.getMaxHealth();

NOTE: This function returns data in int type.

Usage example(s)

API.getMaxHealth();

References