API

ScreenShots & Recordings


API_Keys = {
    ServiceUsed = 'fivemanage',   -- discord | fivemanage | fivemerr
    Token = 'YOUR_TOKEN', --  fivemanage or fivemerr or discord webhook
}

Two Recommended websites for uploading records are:

  1. FiveManage: https://fivemanage.com/ (Recommended)

We do not recommend using Discord webhooks here.


Discord Logs

Status_TimeOut = 60000 * 3 -- Deafult: 3m Log Discord timeout
Logs = {
    ['POLICE'] = {
        ['Status'] = {
            Active = true,
            Webhook = '',
            MSG_ID = 000000000000000000,
        },
        ['Records'] = '', -- Discord Webhook [Recorded Video]
        ['BOLO'] = '', -- Discord Webhook [Flagged Vehicles]
    },
    ['EMS'] = {
        ['Status'] = {
            Active = true,
            Webhook = '',
            MSG_ID = 0000000000000000000, -- false if you want it send msg everytime
        },
        ['Records'] = '',  -- Discord Webhook [Recorded Video]
        ['BOLO'] = false,
    },
}

To make the message happen, instead of sending a list of units every time, you must send a message via Discohook with the same Webhook.

To Get MSG ID Follow this steps:

  1. Create a specific chat and generate a webhook. Copy the webhook URL.

  2. Visit Discohook and paste the copied webhook URL.

  3. Click on Send to send the message.

  4. Go back to the same chat and click on Copy Message ID and fill it in sh_api.

For More informations about webhooks visit Webhook System

Last updated