Blips

Built-in blip handler

CreateBlip(data)

Creates a blip for a specified entity or set of coordinates. Returns a blip handler object.

  • data* (table) - Table with blip data with the following entries

    • entity (entity) - entity to attach the blip to (cannot be used if coords is specified)

    • coords (vector3) - coordinates to place the blip (cannot be used if entity is specified)

    • colour (number) - colour ID for the blip (lookup colours)

    • sprite (number) - sprite ID for the blip (lookup sprites)

    • name (string) - name of the blip which is shown in the map

* = required arguments

Exactly one of entity or coords must be specified for the method to work correctly

Blip Handler Object Methods

blip.remove()

Deletes the blip. Takes no parameters

Reference: client/cl_bliphandler.lua

Last updated