nn_drugsale

General information before installing

Welcome to the installation guide for the nn_drugsale script! This guide will walk you through the complete installation process to ensure a smooth and problem-free setup. Please follow each step carefully for a seamless experience.

Common questions

How do I add a new drug to the script?

Add a new entry to Config.Drugs in config.lua with your desired properties. Example:

Config.Drugs['ecstasy'] = {
    label = "Ecstasy",
    image = "ecstasy.png",
    basePrice = 120,
    minPrice = 100,
    maxPrice = 180,
    amount = 8,
    minAmount = 2,
    maxAmount = 15,
    category = "pills",
    rarity = "rare",
    animation = {
        dict = "mp_player_inteat@burger",
        name = "mp_player_int_eat_burger",
        duration = 5000,
        scenario = "WORLD_HUMAN_AA_SMOKE"
    }
}
How do I change the minimum number of police required to sell drugs?

Edit the value of Config.MinPolice in config.lua:

Config.MinPolice = 2
How do I enable or disable specific phone apps?

Set the relevant app to true or false in Config.PhoneApps:

Config.PhoneApps.gamesApp = false -- Disables the games app

Last updated