02A5

From GTAMods Wiki
Jump to navigation Jump to search

GTA III ADD_SPRITE_BLIP_FOR_CHAR


Description

Adds a sprite blip and a marker to the character

Syntax

02A5: create_marker_above_actor [char handle] icon [int] handle [var]

Parameter

[char handle]
The handle of the character
[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 character and a marker above the character. 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, actor, character