gta.createBlip: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
PerikiyoXD (talk | contribs) 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 | |parameters = int icon, Vec3 position, [ int size = 2, int colour = 0 ] | ||
|parameter1 = | |parameter1 = int icon The icon ID for the blip. | ||
|parameter2 = | |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