Difference between revisions of "SET CHAR MAX HEALTH"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{Native |np = 2 |p1t = integer |p1d = Char handle. |p2t = integer |p2d = Max health number. }} This function sets the specified characters health to the specifi…')
 
 
Line 1: Line 1:
{{Native
+
{{OpCode
|np     = 2
+
| games      = {{Icon|SA}}
|p1t   = integer
+
| command    = SET_CHAR_MAX_HEALTH
|p1d   = Char handle.
+
| description = Sets the characters maximum health.
|p2t   = integer
+
| syntax1     = 08AF: set_char_max_health [''var''] to [''int'']
|p2d   = Max health number.
+
| p1t         = [''var'']
 +
| p1d         = Actor Handle
 +
| p2t         = [''int'']
 +
| p2d         = Max Health Value
 
}}
 
}}
  
This function sets the specified characters health to the specified number.
+
This opcode sets the characters max health.
 +
 
 +
== Keywords ==
 +
set, char, actor, max, health

Latest revision as of 15:36, 15 September 2017

San Andreas SET_CHAR_MAX_HEALTH


Description
Sets the characters maximum health.
Syntax
08AF: set_char_max_health [var] to [int]
Parameter
[var]
Actor Handle
[int]
Max Health Value

This opcode sets the characters max health.

Keywords

set, char, actor, max, health