GTAG - Modding - Opcode Database - 04AD
Opcode Database
04AD
| Description | Returns true if the character is in water. |
|---|---|
| Parameters (v2) | 1) Actor handle (Integer) (INT) |
| Games | |
| Category | Actor, Common, Conditional |
| Command Name (IV) | IS_CHAR_IN_WATER |
| San Andreas | |
| sascm.ini | 04AD=1, is_char_in_water %1d% |
| Example | 04AD: is_char_in_water $PLAYER_ACTOR |
| Command Name | IS_CHAR_IN_WATER |
| Vice City | |
| sascm.ini | 04AD=1, actor %1d% in_water |
| Example | 04AD: actor $5256 in_water |
| Command Name | IS_CHAR_IN_WATER |

