Get Map Blips

This endpoint allows you to retrieve all custom blips for a community's live map!

This API endpoint requires the pro version of Sonoran CAD or higher. For more information, see our pricing page.

This framework export handles the Get Blips API endpoint.

function getBlips(cb)
    local data = {{
        ["serverId"] = GetConvar("sonoran_serverId", 1)
    }}
    exports["sonorancad"]:performApiRequest(data, "GET_BLIPS", function(res)
        if cb ~= nil then
            cb(res)
        end
    end)
end

Parameters

Last updated