gta.createBlipAttachedTo

From GTA Connected
Jump to navigation Jump to search

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

Server Related

gta.createBlip
gta.createBlipAttachedTo

blip.children
blip.dimension
blip.getData
blip.getRotation
blip.id
blip.isType
blip.name
blip.onAllDimensions
blip.parent
blip.position
blip.removeAllData
blip.removeData
blip.resource
blip.setData
blip.setRotation
blip.setSyncer
blip.syncer
blip.type


Client Related

gta.createBlip
gta.createBlipAttachedTo

blip.children
blip.dimension
blip.getData
blip.getRotation
blip.id
blip.isLocal
blip.isSyncer
blip.isType
blip.name
blip.parent
blip.position
blip.removeAllData
blip.removeData
blip.setData
blip.setRotation
blip.syncer
blip.type