GTAG - Modding - Opcode Database - 04D8
Opcode Database
04D8
| Description | If true, the character will drown. If false, the character can swim. |
|---|---|
| Parameters (v2) | 1) Actor handle (Integer) (INT) 2) Boolean (1 or 0) (INT) |
| Games | |
| Category | Actor, Common |
| Command Name (IV) | SET_CHAR_DROWNS_IN_WATER |
| San Andreas | |
| sascm.ini | 04D8=2,set_char_drowns_in_water %1d% to %2h% |
| Example | 04D8: set_char_drowns_in_water 395@(253@,16i) to 0 |
| Command Name | SET_CHAR_DROWNS_IN_WATER |
| Vice City | |
| sascm.ini | 04D8=2,set_actor %1d% drown %2h% |
| Example | 04D8: set_actor $5135 drown 0 |
| Command Name | SET_CHAR_DROWNS_IN_WATER |

