Skip to content

Blip Functions getInfo

DizzasTeR edited this page Nov 7, 2020 · 1 revision

getInfo

Returns blip information

Table Blip.getInfo(int blipID)

Parameters

  • blipID The blip ID to get information of

Returns

Table - A table with following:

{
["world"]      = INT
["position"]   = TABLE{x, y, z}
["scale"]      = INT
["color"]      = INT
["sprite"]     = INT
}

Example

Event.bind("onServerInit", function()
    local myBlip = Blip.create(1, {0, 0, 0}, 1, 0xFFFFFF, 16)
    local blipInfo = Blip.getInfo(myBlip)
    iprint(blipInfo)
end)
Clone this wiki locally