Difference between revisions of "016D"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|t}} '''ADD_POLICE_RESTART''' <hr /> '''Description''' : Adds a police restart point '''Syntax''' : 016D: restart_if_busted_at [''flt1''] [''flt2''] [''flt3''] angle [''...")
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Icon|t}} '''ADD_POLICE_RESTART'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = ADD_POLICE_RESTART
: Adds a police restart point
+
| description = Adds a police restart point
'''Syntax'''
+
| syntax1    = {{Icon|3}} {{Icon|VC}} 016D: restart_if_busted_at [''flt1''] [''flt2''] [''flt3''] angle [''flt4'']
: 016D: restart_if_busted_at [''flt1''] [''flt2''] [''flt3''] angle [''flt4'']
+
| syntax2    = {{Icon|SA}} 016D: restart_if_busted_at [''flt1''] [''flt2''] [''flt3''] angle [''flt4''] town_number [''int'']
'''Parameter'''
+
| p1t        = [''flt1'']
: [''flt1'']
+
| p1d        = X-coordinate
:: X-coordinate
+
| p2t        = [''flt2'']
: [''flt2'']
+
| p2d        = Y-coordinate
:: Y-coordinate
+
| p3t        = [''flt3'']
: [''flt3'']
+
| p3d        = Z-coordinate (or &le;''-100.0'' for [[02CE|ground z]])
:: Z-coordinate (or ''-100.0'' for [[02CE|ground z]])
+
| p4t        = [''flt4'']
: [''flt4'']
+
| p4d        = [[Heading]]
:: [[Heading]]
+
| p5t        = [''int'']
 +
| p5d        = Town number
 +
}}
  
 
This opcode creates a police restart point. When you get busted, you will respawn at the closest police restart point. A maximum of 8 police restart points can be created. The game does not place a cap on the limit so adding too many points can result in game instability. 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 police restart point. When you get busted, you will respawn at the closest police restart point. A maximum of 8 police restart points can be created. The game does not place a cap on the limit so adding too many points can result in game instability. 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 19: Line 21:
 
== Keywords ==
 
== Keywords ==
 
restart, point, police, busted, arrest
 
restart, point, police, busted, arrest
 
[[Category:OpCodes]]
 

Latest revision as of 12:29, 2 December 2016

GTA III Vice City San Andreas ADD_POLICE_RESTART


Description
Adds a police restart point
Syntax
GTA III Vice City 016D: restart_if_busted_at [flt1] [flt2] [flt3] angle [flt4]
San Andreas 016D: restart_if_busted_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]
Heading
[int]
Town number

This opcode creates a police restart point. When you get busted, you will respawn at the closest police restart point. A maximum of 8 police restart points can be created. The game does not place a cap on the limit so adding too many points can result in game instability. 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, police, busted, arrest