createBlip

From GTA Connected
Jump to navigation Jump to search

Function Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

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

Description

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

Parameters

Type Name Presence Default Value Description
Vec3 position required n/a The 3D position for the blip.
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.

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.createBlip in version 1.0.71.

Related

Server Related

createBlip
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

createBlip
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