016D

From GTAMods Wiki
Revision as of 18:28, 22 July 2015 by Spaceeinstein (talk | contribs) (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 [''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas ADD_POLICE_RESTART


Description

Adds a police restart point

Syntax

016D: restart_if_busted_at [flt1] [flt2] [flt3] angle [flt4]

Parameter

[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate (or -100.0 for ground z)
[flt4]
Heading

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