0161

From GTAMods Wiki
Revision as of 00:11, 20 November 2016 by Link2012 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas ADD_BLIP_FOR_CAR_OLD


Description

Adds a blip with properties to the vehicle

Syntax

0161: [var] = create_marker_above_car [car handle] color [int1] visibility [int2]

Parameter

[car handle]
The handle of the vehicle
[int1]
The color of the blip
[int2]
The display of the blip
[var]
Variable to store the handle of the blip

This opcode adds a square blip in the radar denoting the location of the vehicle. It is almost equivalent to opcode 0186 but without preset properties. The default scale of the blip is 1. In Vice City, the color of the blip is always set to 4 (yellow) regardless of what color you set so the color parameter is useless.

Keywords

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