03DD

From GTAMods Wiki
Revision as of 18:54, 9 October 2016 by Spaceeinstein (talk | contribs) (Created page with "{{OpCode | games = {{Icon|3}} | command = ADD_SPRITE_BLIP_FOR_PICKUP | description = Adds a sprite blip and a marker to the pickup | syntax1 = 03DD: crea...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III ADD_SPRITE_BLIP_FOR_PICKUP


Description
Adds a sprite blip and a marker to the pickup
Syntax
03DD: create_marker_above_pickup [pickup handle] icon [int] handle [var]
Parameter
[pickup handle]
The handle of the pickup
[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 pickup and a marker above the pickup. Both the blip and marker can be removed using opcode 0164 or if the pickup is removed by any means. For pickup types that allow the pickup to respawn, the blip and marker will not reappear when it respawns.

Keywords

create, set, marker, blip, arrow, sprite, pickup