Open main menu

gta.createBlipAttachedTo

Revision as of 00:17, 11 December 2019 by Mex (talk | contribs) (Mex moved page createBlipAttachedTo to gta.createBlipAttachedTo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function Server and Client All Games Online and Offline

Server 1.1.0, Client 1.1.0

Blip gta.createBlipAttachedTo(Element element, int icon, [ int size = 2, int colour = 0, bool blip = true, bool marker = false ])

Description

The gta.createBlipAttachedTo function is used to create a blip which is attached via 3D position to an element.

Parameters

Type Name Presence Default Value Description
Element
element
required n/a The element to bind the blip to.
int
icon
required n/a The icon ID for the blip.
int
size
optional
2
The size for the blip.
int
colour
optional
0
The colour for the blip.
bool
blip
optional
true
Whether to use a blip.
bool
marker
optional
false
Whether to use a marker.

Returns

Success Returns

Type Description
Blip
The new blip object.

Failure Returns

Type Value
bool
false

Notes

Examples

There aren't any examples for this function.

Compatibility

  • This function was previously named game.createBlipAttachedTo in version 1.0.71.

Related