Remove Blip With Subtype
This endpoint allows you to retrieve all custom blips for a community's live map!
function removeWithSubtype(subType, cb)
Utilities.CAD.getBlips(function(res)
local dres = json.decode(res)
local ids = {}
if type(dres) == "table" then
for _, v in ipairs(dres) do
if v.subType == subType then
table.insert(ids, #ids + 1, v.id)
end
end
Utilities.CAD.removeBlip(ids, cb)
else
print("No blips were returned.")
end
end)
endParameters
Property
Type
Description
Last updated
Was this helpful?

