gta.createBlip

(Redirected from createBlip)

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

Available since Server 1.0.0, Client 1.0.0

Blip gta.createBlip(int icon, Vec3 position, [ int size = 2, int colour = 0 ])

The gta.createBlip function is used to add a blip to the game.

Parameters

1) int icon The icon ID for the blip.
2) Vec3 position The 3D position 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.

Return

Blip The new blip object.

Notes

Examples

There aren't any examples for this function.

Compatibility

  • This function was previously named game.createBlip 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