gta.createBlipAttachedTo

Revision as of 07:41, 23 November 2020 by Vortrex (talk | contribs)

Function Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since 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 ])

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

Parameters

1) Element element The element to bind the blip to.
2) int icon The icon ID for the blip.
3) int size Optional, defaults to 2. The size for the blip.
4) int colour Optional, defaults to 0. The colour for the blip.
5) bool blip Optional, defaults to true. Whether to use a blip.
6) bool marker Optional, defaults to false. Whether to use a marker.

Return

Blip The new blip object.

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

        getBlipCount
        getBlips
        gta.createBlip
        gta.createBlipAttachedTo

        blip.children
        blip.clearExistsFor
        blip.dimension
        blip.existsFor
        blip.getData
        blip.getRotation
        blip.id
        blip.isCreatedFor
        blip.isLocal
        blip.isOwner
        blip.isSyncer
        blip.isType
        blip.name
        blip.netFlags
        blip.parent
        blip.position
        blip.removeAllData
        blip.removeData
        blip.resource
        blip.rotation
        blip.setData
        blip.setExistsFor
        blip.setRotation
        blip.setSyncer
        blip.streamInDistance
        blip.streamOutDistance
        blip.syncer
        blip.syncerId
        blip.type


Client Related

      getBlipCount
      getBlips
      gta.createBlip
      gta.createBlipAttachedTo

        blip.children
        blip.clearExistsFor
        blip.dimension
        blip.existsFor
        blip.getData
        blip.getRotation
        blip.id
        blip.isCreatedFor
        blip.isLocal
        blip.isOwner
        blip.isSyncer
        blip.isType
        blip.name
        blip.netFlags
        blip.parent
        blip.position
        blip.removeAllData
        blip.removeData
        blip.resource
        blip.rotation
        blip.setData
        blip.setExistsFor
        blip.setRotation
        blip.setSyncer
        blip.streamInDistance
        blip.streamOutDistance
        blip.syncer
        blip.syncerId
        blip.type