04D8

From GTAMods Wiki
Revision as of 10:59, 3 December 2016 by Spaceeinstein (talk | contribs) (page updates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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