Installation & Config

Installation

  1. Download the latest script on keymaster.fivem & unzip yeva_distresscall

  2. Drag script into your resources folder, for example on [qb] or [esx_addons] folder.

  3. Don't forget to start the script in the config.lua if you put the script outside of that folder.

  4. Import sql.sql to your database server.

SQL File

CREATE TABLE `distress_calls` (
    `id` INT(11) NOT NULL AUTO_INCREMENT,
    `identifier` VARCHAR(255) NOT NULL,
    `flag` INT(11) NOT NULL DEFAULT '0',
    `victim` VARCHAR(255) NOT NULL,
    `message` VARCHAR(255) NOT NULL,
    `location` VARCHAR(255) NOT NULL,
    `distance` VARCHAR(255) NOT NULL DEFAULT '0',
    `time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP(),
    PRIMARY KEY (`id`)
);

Configuration

config.lua

Last updated