Difference between revisions of "016C"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | {{Icon|t}} | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = ADD_HOSPITAL_RESTART | |
− | + | | description = Adds a hospital restart point | |
− | + | | syntax1 = {{Icon|3}} {{Icon|VC}} 016C: restart_if_wasted_at [''flt1''] [''flt2''] [''flt3''] angle [''flt4''] | |
− | + | | syntax2 = {{Icon|SA}} 016C: restart_if_wasted_at [''flt1''] [''flt2''] [''flt3''] angle [''flt4''] town_number [''int''] | |
− | + | | p1t = [''flt1''] | |
− | + | | p1d = X-coordinate | |
− | + | | p2t = [''flt2''] | |
− | + | | p2d = Y-coordinate | |
− | + | | p3t = [''flt3''] | |
− | + | | p3d = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]]) | |
− | + | | p4t = [''flt4''] | |
− | + | | p4d = [[Heading]] | |
− | + | | p5t = [''int''] | |
− | + | | p5d = 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 [[Saves (GTA 3)#Block 9: Restarts|block 9 of the save file]] in GTA III, [[Saves (GTA VC)#Block 10: Restart Points|block 10]] in Vice City, and [[Saves (GTA SA)#Block 8: Restart Locations|block 8]] in San Andreas. | 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 [[Saves (GTA 3)#Block 9: Restarts|block 9 of the save file]] in GTA III, [[Saves (GTA VC)#Block 10: Restart Points|block 10]] in Vice City, and [[Saves (GTA SA)#Block 8: Restart Locations|block 8]] in San Andreas. | ||
Line 22: | Line 21: | ||
== Keywords == | == Keywords == | ||
restart, point, hospital, wasted, death | restart, point, hospital, wasted, death | ||
− | |||
− |
Latest revision as of 12:26, 2 December 2016
- 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
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