Copy local metadata = {
entity = PlayerPedId()
}
local blip = Blip("entity", metadata)
Copy local metadata = {
scaleX = 100.0,
scaleY = 10.0
}
local blip = Blip("area", metadata)
Copy local metadata = {
radius = 10.0
}
local blip = Blip("radius", metadata)
Copy -- Remove the blip
function Blip:Remove()
Copy -- Set the sprite of the blip
---@param sprite hash
function Blip:SetSprite(sprite)
Copy -- Set the name of the blip
---@param name string
function Blip:SetName(name)
Copy -- Set the scale of the blip
---@param scale number
function Blip:SetScale(scale)
Copy -- Set the coordinates of the blip
---@param coords vector3
function Blip:SetCoords(coords)
Copy -- Set the rotation of the blip
---@param rotation number
function Blip:SetRotation(rotation)
Copy -- Set blip modifier
---@param modifier hash
function Blip:AddModifier(modifier)
Copy -- Remove blip modifier
---@param modifier hash
function Blip:RemoveModifier(modifier)
Copy -- Set blip style
---@param style hash
function Blip:SetStyle(style)
Copy -- Set blip color
---@param color string
function Blip:SetColor(color)
Copy LIGHT_BLUE = "BLIP_MODIFIER_MP_COLOR_1",
DARK_RED = "BLIP_MODIFIER_MP_COLOR_2",
PURPLE = "BLIP_MODIFIER_MP_COLOR_3",
ORANGE = "BLIP_MODIFIER_MP_COLOR_4",
TEAL = "BLIP_MODIFIER_MP_COLOR_5",
LIGHT_YELLOW = "BLIP_MODIFIER_MP_COLOR_6",
PINK = "BLIP_MODIFIER_MP_COLOR_7",
GREEN = "BLIP_MODIFIER_MP_COLOR_8",
DARK_TEAL = "BLIP_MODIFIER_MP_COLOR_9",
RED = "BLIP_MODIFIER_MP_COLOR_10",
LIGHT_GREEN = "BLIP_MODIFIER_MP_COLOR_11",
TEAL2 = "BLIP_MODIFIER_MP_COLOR_12",
BLUE = "BLIP_MODIFIER_MP_COLOR_13",
DARK_PUPLE = "BLIP_MODIFIER_MP_COLOR_14",
DARK_PINK = "BLIP_MODIFIER_MP_COLOR_15",
DARK_DARK_RED = "BLIP_MODIFIER_MP_COLOR_16",
GRAY = "BLIP_MODIFIER_MP_COLOR_17",
PINKISH = "BLIP_MODIFIER_MP_COLOR_18",
YELLOW_GREEN = "BLIP_MODIFIER_MP_COLOR_19",
DARK_GREEN = "BLIP_MODIFIER_MP_COLOR_20",
BRIGHT_BLUE = "BLIP_MODIFIER_MP_COLOR_21",
BRIGHT_PURPLE = "BLIP_MODIFIER_MP_COLOR_22",
YELLOW_ORANGE = "BLIP_MODIFIER_MP_COLOR_23",
BLUE2 = "BLIP_MODIFIER_MP_COLOR_24",
TEAL3 = "BLIP_MODIFIER_MP_COLOR_25",
TAN = "BLIP_MODIFIER_MP_COLOR_26",
OFF_WHITE = "BLIP_MODIFIER_MP_COLOR_27",
LIGHT_YELLOW2 = "BLIP_MODIFIER_MP_COLOR_28",
LIGHT_PINK = "BLIP_MODIFIER_MP_COLOR_29",
LIGHT_RED = "BLIP_MODIFIER_MP_COLOR_30",
LIGHT_YELLOW3 = "BLIP_MODIFIER_MP_COLOR_31",
WHITE = "BLIP_MODIFIER_MP_COLOR_32"