04D8

From GTAMods Wiki
Jump to navigation Jump to search

Vice City San Andreas SET_CHAR_DROWNS_IN_WATER


Description
Sets the character to drown in water
Syntax
04D8: set_actor [char handle] drown [int]
Parameter
[char handle]
The handle of the character
[int]
0 = not drown, 1 = drown (default)

This opcode allows the character, including the player, to not drown while in water. In Vice City, health will not be depleted. In San Andreas, NPCs will be able to swim on their own and the player's lung capacity will never run out.

Keywords

set, actor, character, water, drown