LogoMonarch Development

Client

Here you'll find all client exports

CreateBlip

Creates a blip from external scripts

Example
exports.mnr_blips:CreateBlip("blipid", {
    label = "Example Blip",
    coords = vec3(0.0, 0.0, 0.0),
    display = 2,
    sprite = 93,
    color = 0,
    alpha = 255,
    scale = 0.8,
})
  • Blip ID (Unique): string
  • Blip Options: table
    • label?: string
      • The name of the blip displayed in the map (default: Blip)
    • coords: vector3[]
      • Coords of the blip
    • display?: number
      • Settings for blip visibility (default: 2)
        • 0 = Not Displays
        • 2 = Map&Minimap (Selectable on Map)
        • 3 = Only Map
        • 5 = Only Minimap
        • 8 = Map&Minimap (Not selectable on Map)
    • sprite?: number
    • color?: number
    • alpha?: number
      • Transparency of the blip (0 = transparent, 255 = opaque).
    • scale?: number
      • Scale (size) of the blip on the map (e.g. 0.8 = slightly smaller).

DeleteBlip

Deletes a previously created blip

Example
exports.mnr_blips:DeleteBlip("blipID")

blipID (Unique): string