02A4

From GTAMods Wiki
Jump to navigation Jump to search

GTA III ADD_SPRITE_BLIP_FOR_CAR


Description

Adds a sprite blip and a marker to the vehicle

Syntax

02A4: create_marker_above_car [car handle] icon [int] handle [var]

Parameter

[car handle]
The handle of the vehicle
[int]
Sprite id
[var]
Variable to store the handle of the blip

This opcode adds a sprite blip in the radar denoting the location of the vehicle and a marker above the vehicle. Both the blip and marker can be removed using opcode 0164. This opcode was never called in the original script of GTA III.

Keywords

create, set, marker, blip, arrow, sprite, car, vehicle