gta.createBlip: Difference between revisions
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. |
Latest revision as of 20:44, 16 June 2022
Function
Server and Client
Online and Offline
Blip gta.createBlip(int icon, Vec3 position, [ int size = 2, int colour = 0 ])
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