gta.createBlipAttachedTo
Function Server and Client 
 
 
 ![]()
Online and Offline
Blip gta.createBlipAttachedTo(Element element, int icon, [ int size = 2, int colour = 0, bool blip = true, bool marker = false ])
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.createBlipAttachedToin 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