HomeGuides
GithubWeb site

📘

Available

Client

Syntax

AddBlip(name, settings)

Parameters

VariableType
nameString
settingsArray

Settings Parameters

VariableTypeDefault value
xFloat0
yFloat0
zFloat0
textStringBlip
imageIdNumber1
colorIdNumber0
shortRangeBooltrue
scaleFloat1.0
rotationNumber0
enableBooltrue

List of available image and color id : https://wiki.gtanet.work/index.php?title=Blips

Exemples

exports.ft_libs:AddBlip("ft_libs_blip_exemple", {
    x = 124.57,
    y = 254.54,
    z = 1541.874,
    text = "Exemple",
})
exports.ft_libs:AddBlip({
	["ft_libs_blip_exemple_1"] = {
		x = 124.57,
		y = 254.54,
		z = 1541.874,
		text = "Exemple 1",
	},
	["ft_libs_blip_exemple_2"] = {
		x = 124.57,
		y = 254.54,
		z = 1541.874,
		text = "Exemple 2",
	},
})

In game result

140