How To Use

Discoverable Blips

They are locations you can discover, when you enter them it will show a popup of the name of the location and then continue to show a marker on the map. To make use of these you must first enable it in the config.lua and you can customise how they are displayed here too.

DiscoveryBlips = {
    enable = true,                      -- Set to false to disable the onDutyBlip system

    displayTime = 6000,                 -- time in ms to display the notification
    fadeInSpeed = 15,                   -- speed of fade in
    fadeOutSpeed = 2,                   -- speed of fade out

    showPopupBackground = true,         -- Adds the black background to the popup
                                        -- Could possibly be seen as "too much" so made it optional

    alwaysShowLocationName = true,     -- if enabled, will always show the location name on entering the area
},

Example of a FiveM Discoverable Location:

["example_fivem1"] = {                                   -- Name needs to be unique
    coords = vec3(-206.07, -1321.77, 30.89),             -- The center coords of the zone that is discoverable
    name = "Benny's Original Motor Works",               -- Name of the location (and the blip's name)
    description = "Fix and upgrade your vehicle here.",  -- This is optional, adds a bit of flare to the popup
    sprite = 72,                                         -- The blip sprite ID
    color = 47,                                          -- The blip colour ID
    discoverRadius = 30.0                                -- The max distance of the created zone
},

Example of a RedM Discoverable Location:


onDutyBlips

These blips change status based on wether players with a certain job role are on Duty or not, marking the location as "open"

This comes with options to always show the blip or only when they are onDuty, if they are off duty it will show a blip but marked it as "Closed" This requires it to be enabled in the config

Example


Player Blips

This is experimental but works

This allows players to see either other on the map, if they have the specified job roles

This requires enabling in the config

Example

Last updated