Skip to content
English

Blips Client Side Only

You can leverage Feathers built in function for map blips.

Create a Blip

Create a marker (blip) on the players map

ParameterDescription
textWhat the blip will display on the map
bliphashThe hashname of the blip (found here)
scaleHow big the blip is
xThe x coordinate in the game world
yThe y coordinate in the game world
zThe z coordinate in the game world
vector3instead of params send whole vector3 just add nil to x y z

Example Usage:

lua
CreateThread(function()

    local  blip = FeatherCore.Blip:SetBlip('Gift', 'blip_special_series_1', 0.2, x, y, z, vector3 or nil)
end)
CreateThread(function()

    local  blip = FeatherCore.Blip:SetBlip('Gift', 'blip_special_series_1', 0.2, x, y, z, vector3 or nil)
end)

Get Raw Blip

If you want to use any natives that are not yet included, you can utilize the raw blip.

lua
CreateThread(function()
    local  blip = FeatherCore.Blip:SetBlip('Gift', 'blip_special_series_1', 0.2, x, y, z,vector3 or nil)

    local rawblip = blip.rawblip
    -- OR
    -- local rawblip = blip:Get()

    -- use rawblip with any other native.
end)
CreateThread(function()
    local  blip = FeatherCore.Blip:SetBlip('Gift', 'blip_special_series_1', 0.2, x, y, z,vector3 or nil)

    local rawblip = blip.rawblip
    -- OR
    -- local rawblip = blip:Get()

    -- use rawblip with any other native.
end)

Delete a Blip

Delete a marker (blip) on the players map

lua
CreateThread(function()
    local  blip = FeatherCore.Blip:SetBlip('Gift', 'blip_special_series_1', 0.2, x, y, z,vecotr3 or nil)

    blip:Remove()
    -- OR
    --- FeatherCore.Blip:RemoveBlip(blip.rawblip)
end)
CreateThread(function()
    local  blip = FeatherCore.Blip:SetBlip('Gift', 'blip_special_series_1', 0.2, x, y, z,vecotr3 or nil)

    blip:Remove()
    -- OR
    --- FeatherCore.Blip:RemoveBlip(blip.rawblip)
end)

Add Radius to Blip

Create a Radius blip

ParameterDescription
radiusA decimal radius
bliphahashshThe hashname of the blip (found here) [Optional, will default to -1282792512]

Example Usage:

lua
CreateThread(function()
    local  blip = FeatherCore.Blip:SetBlip('Gift', 'blip_special_series_1', 0.2, x, y, z,vector3 or nil)

    blip:AddRadius(64.0, -1282792512)
    -- OR
    -- FeatherCore.Blip:AddRadius(64.0, x, y, z, -1282792512)
end)
CreateThread(function()
    local  blip = FeatherCore.Blip:SetBlip('Gift', 'blip_special_series_1', 0.2, x, y, z,vector3 or nil)

    blip:AddRadius(64.0, -1282792512)
    -- OR
    -- FeatherCore.Blip:AddRadius(64.0, x, y, z, -1282792512)
end)