GTAG - Modding - Opcode Database - 0226
Opcode Database
0226
Description | Returns the characters health. |
---|---|
Parameters (v2) | 1) Actor handle (Integer) (INT) 2) (Returned) Float (FLOAT) |
Games | |
Category | Actor, Common |
Command Name (IV) | GET_CHAR_HEALTH |
San Andreas | |
sascm.ini | 0226=2,get_char_health %1d% store_to %2d% |
Example | 0226: get_char_health 164@ store_to $6459 |
Command Name | GET_CHAR_HEALTH |
Vice City | |
sascm.ini | 0226=2,%2d% = actor %1d% health |
Example | 0226: $2299 = actor $2295 health |
Command Name | GET_CHAR_HEALTH |
GTA III | |
gtascm.ini | 0226=2,%2d% = actor %1d% health |
Example | 0226: $JOEY2_CHUNKY_HEALTH = actor $CHUNKY_LEE_CHONG health |
Command Name | GET_CHAR_HEALTH |