Get Map Blips

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

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

Property
Type
Description

cb

Function

Callback function

Last updated

Was this helpful?