Samurai Scripts
Discord Server
  • 👋Welcome
  • Paid Scripts
    • 💊SM-drugdelivery
      • 📜Installation
      • 📔Configurables
      • 🗂️Events/exports
    • 💻SMR-tebexwrapper
      • 📜Installation
      • 📜Tebex store setup
      • 📔Configurables
      • 🗂️Events/exports
    • 🔫SMR-weaponexam
      • 📜Installation
      • 📔Configurables
      • 🗂️Events/exports
  • Tebex url
  • Discord Server
  • Free Scripts
Powered by GitBook
On this page
  • Config
  • Opensource
  1. Paid Scripts
  2. SM-drugdelivery

Configurables

Config

Config = {}

Config.TargetSystem = "ox_target" -- Currently supports "ox_target", "qb-target",  or leave it blank for custom target system. /client/opensource.lua

Config.changenpclocation = 10 -- the amount in minutes for the npc to change location

Config.moneytype = "money" -- the money type to remove from player

Config.debuglogs = 'true' -- true or false for debug logs

Config.locales = {
    ["npc_blip_name"] = "Warehouse Marker",
    ["not_enough_money"] = "You don\"t have enough money.",
    ["not_enough_rep"] = "You don\"t have enough reputation.",
    ["succesfully_delivered_drugs"] = "You succesfully delivered drugs.",
    ["get_drugs_from_trunk_first"] = "Get the drugs from the trunk first.",
    ["mission_complete"] = "You have delivered all drugs get back to the warehouse.",
    ["started_drug_mission"] = "You have started a drug mission Go to the gps marked on ur map.",
    ["mission_already_started"] = "You already started a drug mission.",
    ["ambush_text1"] = "Ambush!",
    ["ambush_text2"] = "~r~Enemies~w~ are approaching!",
    ["deliver_drugs"] = "Deliver The Drugs to the NPC",
    ["talk_to_npc"] = "Talk to NPC",
    ["talk_to_npc_end_mission"] = "End the mission.",
    ["ended_mission"] = "It was a pleasure doing business with you."

}

Config.npcs = {
    [1] = {
        Npcsettings = {
            model = "g_m_y_ballasout_01",
            coords = vector4(201.4727, 2462.4897, 54.9060, 198.2361)
        },
        carspawncoords = vector4(206.8348, 2470.8953, 55.6995, 282.2791)
    },
    [2] = {
        Npcsettings = {
            model = "g_m_y_ballasout_01",
            coords = vector4(201.4727, 2462.4897, 55.9060, 198.2361)
        },
        carspawncoords = vector4(1239.4281, -3155.1326, 5.5282, 91.3393)
    },
    [3] = {
        Npcsettings = {
            model = "g_m_y_ballasout_01",
            coords = vector4(201.4727, 2462.4897, 55.9060, 198.2361)
        },
        carspawncoords = vector4(1239.4281, -3155.1326, 5.5282, 91.3393)
    }
}




Config.drugs = {
    {
        title = "Weed | No rep needed",
        description = "You will earn $1000 after completing this mission.",
        icon = "cannabis",
        addrep = 10, -- how many rep to add after succesful mission
        requiredRep = 1, -- the required rep
        deliveryMoney = 1000, -- the money the player gets after doing the mission
        depositPrice = 1500, -- how much player has to pay for vehicle deposit 
        colorScheme = "green",
        enemychance = "100", -- chances of player getting shot at by enemys.
        blipsettings = {
            enable = true, -- enable/disable blip
            blipName = "Drug Delivery | Weed",
            blipColor = 46, -- blip color
        }
    },
    {
        title = "Cocaine | 20 rep needed",
        description = "You will earn $2000 after completing this mission.",
        icon = "snowflake",
        addrep = 10, -- how many rep to add after succesful mission
        requiredRep = 20, -- the required rep
        deliveryMoney = 2000, -- the money the player gets after doing the mission
        depositPrice = 1500, -- how much player has to pay for vehicle deposit 
        colorScheme = "white",
        enemychance = "25", -- chances of player getting shot at by enemys.
        blipsettings = {
            enable = true, -- enable/disable blip
            blipName = "Drug Delivery | Cocaine",
            blipColor = 46, -- blip color
        }
    },
    {
        title = "Meth | 50 rep needed",
        description = "You will earn $3000 after completing this mission.",
        icon = "flask",
        addrep = 10, -- how many rep to add after succesful mission
        requiredRep = 50, -- the required rep
        deliveryMoney = 3000, -- the money the player gets after doing the mission
        depositPrice = 1500, -- how much player has to pay for vehicle deposit 
        colorScheme = "blue",
        enemychance = "25", -- chances of player getting shot at by enemys.
        blipsettings = {
            enable = true, -- enable/disable blip
            blipName = "Drug Delivery | Meth",
            blipColor = 46, -- blip color
        }
    }
}

Config.deliverylocations = {
    [1] = {
        deliverysettings = {
            model = "g_m_y_ballasout_01",
            coords = vector4(205.8860, 2443.3196, 59.0347, 99.1680)
        },
    -- },
    -- [2] = {
    --     deliverysettings = {
    --         model = "g_m_y_ballasout_01",
    --         coords = vector4(2902.1260, 4305.3691, 50.4071, 130.0575)
    --     },
    -- },
    -- [3] = {
    --     deliverysettings = {
    --         model = "g_m_y_ballasout_01",
    --         coords = vector4(1723.3615, 6417.7051, 35.0006, 63.7524)
    --     },
    }
}

Config.enemynpcs = {
    [1] = {
        model = "g_m_y_ballasout_01",
        weapon = "weapon_smg_mk2"
    },
    [2] = {
        model = "g_m_y_ballasout_01",
        weapon = "weapon_sawnoffshotgun"
    },
    [3] = {
        model = "g_m_y_ballasout_01",
        weapon = "weapon_snspistol"
    }
}

Config.endmissionped = "s_m_m_highsec_01" -- the end mission ped model
Config.endmissionpedcoords = vector4(2362.7124, 3129.1238, 48.2092, 263.9549)
Config.cashtype = 'bank'

Opensource

PreviousInstallationNextEvents/exports

Last updated 7 months ago

💊
📔