gta.createBlip: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 4: Line 4:
|name = gta.createBlip
|name = gta.createBlip
|usage = add a blip to the game
|usage = add a blip to the game
|parameters = Vec3 position, int icon, [ int size = 2, int colour = 0 ]
|parameters = int icon, Vec3 position, [ int size = 2, int colour = 0 ]
|parameter1 = Vec3 position The 3D position for the blip.
|parameter1 = int icon The icon ID for the blip.
|parameter2 = int icon The icon ID for the blip.
|parameter2 = Vec3 position The 3D position for the blip.
|parameter3 = int size optional 2 The size for the blip.
|parameter3 = int size optional 2 The size for the blip.
|parameter4 = int colour optional 0 The colour for the blip.
|parameter4 = int colour optional 0 The colour for the blip.

Revision as of 20:44, 16 June 2022

gta.createBlip

Signature: Blip The new blip object. gta.createBlip(int icon, Vec3 position, [ int size = 2, int colour = 0 ])

Usage: add a blip to the game

Parameters

int icon The icon ID for the blip.
Vec3 position The 3D position for the blip.
int size optional 2 The size for the blip.
int colour optional 0 The colour for the blip.

Return

Blip The new blip object.

On failure: bool false