Skip to main content

AddBlipForEntity

The primary functions for creating easy blips.

Function

local Blips = WXSCore.Blips
Blips:AddBlipForEntity(entity, name, sprite, color, scale, alpha, shortRange)

Parameters

NameTypeDescription
entityintegerThe entity handle.
namestringThe name of the blip.
spriteintegerThe sprite of the blip.
colorintegerThe color of the blip.
scalefloatThe scale of the blip.
alphaintegerThe alpha of the blip.
shortRangebooleanWhether or not the blip should be short range.

Returns

NameTypeDescription
blipintegerAn ID generated for the blip.