SetMaxHealth

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

Sets the maximum health the the local player. Default maximum health is 100.

Syntax

API.setMaxHealth(int maxHealth);

Required Arguments

  • maxHealth: parameter input should be in int type.

Usage example(s)

API.setMaxHealth(int maxHealth);

References