👮
Five-O M
  • Five-O M
  • 💻Client
    • Server Callbacks
    • Progress Bars
    • Keypress
    • Notifications
    • Menus
    • Blips
    • Vehicles (to-do)
    • Peds (to-do)
    • Callouts (to-do)
    • Client Callbacks (to-do)
  • 💿Server
    • Server Callbacks
    • Client Callbacks (to-do)
Powered by GitBook
On this page
  • CreateBlip(data)
  • Blip Handler Object Methods
  • blip.remove()
  1. Client

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

PreviousMenusNextVehicles (to-do)

Last updated 2 years ago

💻