Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 04D8

Opcode Database

04D8

DescriptionIf true, the character will drown. If false, the character can swim.
Parameters (v2)1) Actor handle (Integer) (INT)
2) Boolean (1 or 0) (INT)
Gamessa vc
CategoryActor, Common
Command Name (IV)SET_CHAR_DROWNS_IN_WATER
San Andreas
sascm.ini04D8=2,set_char_drowns_in_water %1d% to %2h%
Example04D8: set_char_drowns_in_water 395@(253@,16i) to 0
Command NameSET_CHAR_DROWNS_IN_WATER
Vice City
sascm.ini04D8=2,set_actor %1d% drown %2h%
Example04D8: set_actor $5135 drown 0
Command NameSET_CHAR_DROWNS_IN_WATER

<< 04D7

04D9 >>