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
coords (vector3) - coordinates to place the blip (cannot be used if entity is specified)
entity
colour (number) - colour ID for the blip (lookup coloursarrow-up-right)
sprite (number) - sprite ID for the blip (lookup spritesarrow-up-right)
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.remove()
Deletes the blip. Takes no parameters
Reference: client/cl_bliphandler.lua
client/cl_bliphandler.lua
Last updated 3 years ago