047B

From GTAMods Wiki
Revision as of 17:48, 9 August 2015 by Seemann (talk | contribs)
Jump to navigation Jump to search

GTA III LOCATE_SNIPER_BULLET_2D


Description

Checks if there is a sniper bullet within the specified 2d area

Syntax

047B: locate_sniper_bullet_at [flt1] [flt2] offset [flt3] [flt4] sphere [int]

Parameter

[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
X-radius offset
[flt4]
Y-radius offset
[int]
Display a debug blip

This opcode checks if there is a sniper bullet within the specified 2d area. If the int parameter set to 1, it also highlights the area with a blue blip. For the blip to be visible continuously this opcode must be placed in a loop with a wait of 0.