016C
Revision as of 03:41, 24 July 2015 by Spaceeinstein (talk | contribs)
Description
- Adds a hospital restart point
Syntax
- 016C: restart_if_wasted_at [flt1] [flt2] [flt3] angle [flt4]
- 016C: restart_if_wasted_at [flt1] [flt2] [flt3] angle [flt4] town_number [int]
Parameter
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate (or -100.0 for ground z)
- [flt4]
- [int]
- Town number
This opcode creates a hospital restart point. When you get wasted, you will respawn at the closest hospital restart point. A maximum of 8 hospital restart points can be created. The game does not place a cap on the limit so adding too many points can crash the game. Opcode 016E can be used to override all points for only one restart. The points are saved in block 9 of the save file in GTA III, block 10 in Vice City, and block 8 in San Andreas.
Keywords
restart, point, hospital, wasted, death