Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0226

Opcode Database

0226

DescriptionReturns the characters health.
Parameters (v2)1) Actor handle (Integer) (INT)
2) (Returned) Float (FLOAT)
Gamessa vc iii
CategoryActor, Common
Command Name (IV)GET_CHAR_HEALTH
San Andreas
sascm.ini0226=2,get_char_health %1d% store_to %2d%
Example0226: get_char_health 164@ store_to $6459
Command NameGET_CHAR_HEALTH
Vice City
sascm.ini0226=2,%2d% = actor %1d% health
Example0226: $2299 = actor $2295 health
Command NameGET_CHAR_HEALTH
GTA III
gtascm.ini0226=2,%2d% = actor %1d% health
Example0226: $JOEY2_CHUNKY_HEALTH = actor $CHUNKY_LEE_CHONG health
Command NameGET_CHAR_HEALTH

<< 0225

0227 >>