Envi Scripts Documentation
  • 👋Introduction
  • 🌉Envi-Bridge
  • ⚙️Compatibility
  • 🖨️Licensing
  • 📒Premium Scripts
    • ❔FAQ / COMMON ISSUES
    • ‼️FIRST STEPS (READ FIRST)
    • ⭐Useful Resources
    • 👀Envi FiveM Showcase Server
    • 📸Envi-Camera
      • ❗First Steps
      • Inventory Setup
      • Editable Functionality
      • Complete Lens Kit
      • Printing Photos
      • Ped Reactions
      • Exports
      • Config File
    • 🪚Envi-ChopShop
      • Inventory Setup
      • How to Chop
      • Props for AntiCheats
      • Editable Functionality
      • Config File
    • 🪣Envi-Dumpsters
      • Common Issues
      • Inventory Setup
      • Editable Functionality
      • Exports
      • Exclusive Zones
      • Survival Items
      • Shopping Carts
      • Hobo Bowling
      • Hobo Taxi
      • Rats and Racoons
      • Config File
      • V2 Config
    • 💺Envi-Ejector-Seats
      • Inventory Setup
      • How to Eject
      • Editable Functionality
      • Config File
    • 🔥Envi-Flamethrower (Standalone)
      • Common Issues
      • Inventory Setup
      • Refueling
      • Editable Functionality
      • Config File
    • 🪽Envi-Flight-Suits
      • Inventory Setup
      • Flight Suits
      • Config File
    • 🍜Envi-Food-Truck
      • ❗VooDoo Required
      • Common Issues
      • Inventory Setup
      • Adding Additional Grill Items
      • Unique Shops with Liveries
      • Spawning the Trucks
      • Using the Trucks
      • Exports
      • Config File
    • 💍Envi-Forever-Rings
      • Inventory Setup
      • Editable Functionality
      • Ring Shop MLO
      • Config File
    • 💻Envi-Hack-Minigames (Standalone)
      • The Worm
      • Password
      • Firewall
      • Node Runner
      • Config File
    • 🎞️Envi-HUD
      • ❗First Time Setup
      • Common Issues
      • Inventory Setup
      • Adding Custom Weapons
      • Change Logo
      • Custom Fonts
      • Converting Notifications
      • Converting Progress Bars
      • Editable Functionality
      • Settings Save Location
      • Exports and Events
      • Commands
      • Vehicle Control
      • Anti Muscle Spasm
      • Ragdoll
      • Config File
    • 🎇Envi-Items
      • Inventory Setup
      • Config File
    • 🚑Envi-Medic
      • Common Issues
      • Fully Disable Transport to Hospital
      • Failsafe
      • Ambulance Scripts
      • Vehicle Fuel
      • Vehicle Keys
      • Exports
      • Config File
    • ☄️Envi-MethVan
      • Common Issues
      • Inventory Setup
      • Cooking Process
      • Editable Functionality
      • Adding a Vehicle
      • Config File
    • 🍃Envi-Megablower9000 (Standalone)
      • Inventory Setup
      • Config File
    • 👯Envi-Population (Standalone)
      • ❗Initial Setup
      • Common Issues
      • Config File
    • 🗒️Envi-Prescriptions
      • Common Issues
      • Inventory Setup
      • Editable Functionality
      • Config File
    • 🔧Envi-Sabotage
      • ❗First Time Setup
      • Common Issues
      • Inventory Setup
      • Exports
    • 🛒Envi-Shops
      • Common Issues
      • Inventory Setup
      • Exports
      • Editable Functionality
      • Config File
    • 📱Envi-Trap-Phone
      • Common Issues
      • Inventory Setup
      • Commands
      • Exports
      • Adding Custom Drugs
      • Using the Phone
      • Disabling Extra Services
      • Config Files
        • config.lua
        • dialogueSettings.lua
        • extraServices.lua
        • gangZoneSettings.lua
        • personalitySettings.lua
        • specialContactSettings.lua
    • 👰Envi-Weddings
      • Inventory Setup
      • Starting Info
      • Manually Removing Data
      • Commands
      • Config File
    • 🎅Envi Xmas-Weapons (Standalone)
      • Inventory Setup
      • Config File
    • 🗡️Envi-Zombie-Weapons (Standalone)
      • Inventory Setup
    • 🧟‍♂️Envi-Zombies
Powered by GitBook
On this page
  1. Premium Scripts
  2. Envi-Trap-Phone
  3. Config Files

specialContactSettings.lua

-- Special Contacts / Leveling Up Settings


-----------------------------------------------------------------------------------------------------------------
-- SPECIAL CONTACT SETTINGS
-----------------------------------------------------------------------------------------------------------------

Config.SpecialContactChance = 25 -- % chance of meeting a special contact (AKA Leveling up) - Only when you have enough XP to level up - (DECREASE TO SLOW PROGRESSION)
-- XP is PER DRUG 
-- if phones are unique, then the XP is per phone
-- if phones are not unique, then the XP is per player
-- Players will have a chance of progressing to the 'next level' which will introduce them to a new special contact via meeting or SMS
-- The order in which players meet contacts is completely random

Config.SpecialContacts = {         -- [ A LOT MORE COMING SOON!! ] --

    -- PLUG CONTACTS

    [1] = { -- EXAMPLE OF A PLUG CONTACT
        name = 'Rashkovsky', -- Name of the contact
        pedModel = 'ig_rashcosvki',
        faceVariation = false,
        number = '55501481426',
        special = 'plug',               -- 'plug' or 'zone_info or 'gang_leader'  -- [ MORE COMING SOON! ] --
        gang = nil,
        specialItem = 'coke_1oz',
        specialLabel = 'Coke',
        specialItemLabel = 'Ounces of Coke',
        specialItemAmount = 'ounce',
        specialMax = 10, 
        specialPrice = 1850,
        quality = false,  -- NEW IN 1.2.0
        -- QUALITY OPTIONS --
        -- false = NO QUALITY METADATA, 
        -- number = ADDS QUALITY METADATA - (between 1-100), 
        -- math.random(1, 100) = RANDOM QUALITY BETWEEN 1-100  (Best for realism - could also be any random numbers you want - eg: math.random(70, 100) for a high quality or math.random(1, 49) for a low quality)
    },

    [2] = {
        name = 'Cletus', -- Name of the contact
        pedModel = 'ig_cletus',
        faceVariation = false,
        number = '55501281415',
        special = 'plug',               -- 'plug' or 'zone_info or 'gang_leader'  -- [ MORE COMING SOON! ] --
        gang = nil,
        specialItem = 'meth_1oz',
        specialLabel = 'Meth',
        specialItemLabel = 'Ounces of Meth',
        specialItemAmount = 'ounce',
        specialMax = 10, 
        specialPrice = 1100,
        quality = 69,  -- NEW IN 1.2.0
       -- QUALITY OPTIONS --
        -- false = NO QUALITY METADATA, 
        -- number = ADDS QUALITY METADATA - (between 1-100), 
        -- math.random(1, 100) = RANDOM QUALITY BETWEEN 1-100  (Best for realism - could also be any random numbers you want - eg: math.random(70, 100) for a high quality or math.random(1, 49) for a low quality)
    },

    [3] = {
        name = 'Mrs. Thornhill', -- Name of the contact
        pedModel = 'ig_mrs_thornhill',
        faceVariation = false,
        number = '55501121156',
        special = 'plug',               -- 'plug' or 'zone_info or 'gang_leader'  -- [ MORE COMING SOON! ] --
        gang = nil,
        specialItem = 'weed_1oz',
        specialLabel = 'Weed',
        specialItemLabel = 'Ounces of Weed',
        specialItemAmount = 'ounce',
        specialMax = 25, 
        specialPrice = 500,
        quality = math.random(1, 100),  -- NEW IN 1.2.0
       -- QUALITY OPTIONS --
        -- false = NO QUALITY METADATA, 
        -- number = ADDS QUALITY METADATA - (between 1-100), 
        -- math.random(1, 100) = RANDOM QUALITY BETWEEN 1-100  (Best for realism - could also be any random numbers you want - eg: math.random(70, 100) for a high quality or math.random(1, 49) for a low quality)
    },

    [4] = {
        name = 'Floyd', -- Name of the contact
        pedModel = 'ig_floyd',
        faceVariation = false,
        number = '55501135855',
        special = 'plug',               -- 'plug' or 'zone_info or 'gang_leader'  -- [ MORE COMING SOON! ] --
        gang = nil,
        specialItem = 'coke_7g',
        specialLabel = 'Coke',
        specialItemLabel = 'Quarter-Ounces of Coke',
        specialItemAmount = 'quarter-ounce',
        specialMax = 10, 
        specialPrice = 550,
        quality = 75,  -- NEW IN 1.2.0
       -- QUALITY OPTIONS --
        -- false = NO QUALITY METADATA, 
        -- number = ADDS QUALITY METADATA - (between 1-100), 
        -- math.random(1, 100) = RANDOM QUALITY BETWEEN 1-100  (Best for realism - could also be any random numbers you want - eg: math.random(70, 100) for a high quality or math.random(1, 49) for a low quality)
    },

    [5] = {
        name = 'Hao', -- Name of the contact
        pedModel = 'ig_hao',
        faceVariation = false,
        number = '55503135869',
        special = 'plug',               -- 'plug' or 'zone_info or 'gang_leader'  -- [ MORE COMING SOON! ] --
        gang = nil,
        specialItem = 'meth_7g',
        specialLabel = 'Meth',
        specialItemLabel = 'Quarter-Ounces of Meth',
        specialItemAmount = 'quarter-ounce',
        specialMax = 15, 
        specialPrice = 1000,
        quality = 90,  -- NEW IN 1.2.0
       -- QUALITY OPTIONS --
        -- false = NO QUALITY METADATA, 
        -- number = ADDS QUALITY METADATA - (between 1-100), 
        -- math.random(1, 100) = RANDOM QUALITY BETWEEN 1-100  (Best for realism - could also be any random numbers you want - eg: math.random(70, 100) for a high quality or math.random(1, 49) for a low quality)
    },

    [6] = {
        name = 'Mark', -- Name of the contact
        pedModel = 'ig_claypain',
        faceVariation = false,
        number = '55569122485',
        special = 'plug',               -- 'plug' or 'zone_info or 'gang_leader'  -- [ MORE COMING SOON! ] --
        gang = nil,
        specialItem = 'weed_7g',
        specialLabel = 'Weed',
        specialItemLabel = 'Quarter-Ounces of Weed',
        specialItemAmount = 'gram',
        specialMax = 20,
        specialPrice = 350,
        quality = math.random(69, 100),  -- NEW IN 1.2.0
       -- QUALITY OPTIONS --
        -- false = NO QUALITY METADATA, 
        -- number = ADDS QUALITY METADATA - (between 1-100), 
        -- math.random(1, 100) = RANDOM QUALITY BETWEEN 1-100  (Best for realism - could also be any random numbers you want - eg: math.random(70, 100) for a high quality or math.random(1, 49) for a low quality)
    },
    
    -- GANG LEADER CONTACTS

    [7] = { -- EXAMPLE OF A GANG LEADER CONTACT
        name = 'Gustavo', -- Name of the contact
        pedModel = 'IG_Vagos_Leader',
        faceVariation = 2,
        number = '5550690619',
        special = 'gang_leader',
        gang = 'Vagos',
    },

    [8] = {
        name = 'Leon',
        pedModel = 'a_m_m_og_boss_01',
        faceVariation = 1,
        number = '5550691644',
        special = 'gang_leader',
        gang = 'Ballas',
    },

    [9] = {
        name = 'Erik',
        pedModel = 'g_m_m_armboss_01',
        faceVariation = 1,
        number = '5550692564',
        special = 'gang_leader',
        gang = 'Armenian Mob',
    },

    [10] = {
        name = 'Mr. Madrazo',
        pedModel = 'cs_martinmadrazo',
        faceVariation = false,
        number = '5550692678',
        special = 'gang_leader',
        gang = 'Madrazo Cartel',
    },

    [11] = {
        name = 'D\'Shawn',
        pedModel = 'g_m_importexport_01',
        faceVariation = 1,
        number = '5550615670',
        special = 'gang_leader',
        gang = 'Families',
    },

    [12] = {
        name = 'Clay',
        pedModel = 'ig_clay',
        faceVariation = false,
        number = '5550692218',
        special = 'gang_leader',
        gang = 'Families',
    },

    [13] = {
        name = 'Fabio',
        pedModel = 'g_m_y_salvaboss_01',
        faceVariation = 1,
        number = '5550622818',
        special = 'gang_leader',
        gang = 'Marabunta',
    },

    [14] = {
        name = 'Mr. Cheng',
        pedModel = 'ig_chengsr',
        faceVariation = false,
        number = '5550562673',
        special = 'gang_leader',
        gang = 'Triads',
    },

    -- -- ZONE INFO CONTACTS

    [15] = { -- EXAMPLE OF A ZONE INFO CONTACT
        name = 'Tony', -- Name of the contact
        pedModel = 'a_m_o_tramp_01',
        faceVariation = 2,
        number = '5550690420',
        special = 'zone_info',
    },

     [16] = {
        name = 'Big Dave', -- Name of the contact
        pedModel = 'a_m_m_genfat_02',
        faceVariation = 1,
        number = '55560122444',
        special = 'item_seller',               -- 'plug' or 'zone_info or 'gang_leader' or 'item_seller'  -- [ MORE COMING SOON! ] --
        specialItem = 'bread',
        specialMax = 3,
        specialPrice = 150,
        quality = false,
        metadata = {type = 'Fresh'}
       -- QUALITY OPTIONS --
        -- false = NO QUALITY METADATA, 
        -- number = ADDS QUALITY METADATA - (between 1-100), 
        -- math.random(1, 100) = RANDOM QUALITY BETWEEN 1-100  (Best for realism - could also be any random numbers you want - eg: math.random(70, 100) for a high quality or math.random(1, 49) for a low quality)
    
        -- METADATA OPTIONS --
        -- metadata = {} -- NO METADATA
        -- metadata = {type = 'Illegal'} -- ADDS METADATA TO ITEM (example)
    
    },

    [17] = {
        name = 'Hank', -- Name of the contact
        pedModel = 'a_m_m_bevhills_02',
        faceVariation = false,
        number = '55501134851',
        special = 'item_seller',               -- 'plug' or 'zone_info or 'gang_leader' or 'item_seller'  -- [ MORE COMING SOON! ] --
        specialItem = 'water',
        specialMax = 3,
        specialPrice = 150,
        quality = false,
        metadata = {type = 'Wet?'}
       -- QUALITY OPTIONS --
        -- false = NO QUALITY METADATA, 
        -- number = ADDS QUALITY METADATA - (between 1-100), 
        -- math.random(1, 100) = RANDOM QUALITY BETWEEN 1-100  (Best for realism - could also be any random numbers you want - eg: math.random(70, 100) for a high quality or math.random(1, 49) for a low quality)
    },

    [18] = {
        name = 'Custom Contact', -- Name of the contact
        pedModel = 'a_m_m_bevhills_02',
        faceVariation = false,
        number = '55501234567',
        special = 'custom',               -- 'plug' or 'zone_info or 'gang_leader' or 'item_seller'  -- [ MORE COMING SOON! ] --
        introduction = 'Whats up, I\'m a custom contact, my number is 55501234567. Call me for a good time!',
        code = function()
           print('GOOD TIMES!')
        end,
    },

}

-----------------------------------------------------------------------------------------------------------------
-- SPECIAL CONTACT MEET-UP SPOTS
-----------------------------------------------------------------------------------------------------------------

Config.MeetUpSpots = {

    [1] = {name = 'Sandy Shores Airfield', coords = vector3(1697.01, 3294.73, 40.0), heading = 300.0, walkCoords = vector4(1692.97, 3292.23, 41.15, 130.0)},
    [2] = {name = 'Galilee Docks', coords = vector3(1332.5337, 4381.5903, 44.3458), heading = 180.0, walkCoords = vector4(1334.0837, 4386.6968, 44.3409, 21.613)},
    [3] = {name = 'Grapeseed', coords = vector3(1955.7894, 4647.5039, 39.7392), heading = 237.0, walkCoords = vector4(1942.5229, 4655.3633, 40.5338, 38.8366)},
    [4] = {name = 'The Highway', coords = vector3(1466.7411, 6552.1514, 13.9523), heading = 88.0, walkCoords = vector4(1469.7999, 6551.3203, 14.6809, 165.4959)},
    [5] = {name = 'Paleto Bay', coords = vector3(-107.2514, 6485.5786, 31.4321), heading = 340.0, walkCoords = vector4(-105.1378, 6483.5581, 31.4294, 217.8427)},
    [6] = {name = 'Mt. Chili  ad', coords = vector3(-1075.8080, 4897.4663, 214.271), heading = 5.0, walkCoords = vector4(-1074.1342, 4897.5151, 214.2714, 275.1409)},
    [7] = {name = 'Zancudo', coords = vector3(-1129.7227, 2694.7520, 18.8004), heading = 79.0, walkCoords = vector4(-1126.1974, 2694.1804, 18.8004, 261.3637)},
    [8] = {name = 'Tongva Valley River', coords = vector3(-1521.2738, 1490.3810, 111.6268), heading = 347.0, walkCoords = vector4(-1522.2382, 1487.0895, 110.9550, 164.6483)},
    [9] = {name = 'Chumash Docks', coords = vector3(-3425.8257, 980.8234, 8.34675), heading = 180.0, walkCoords = vector4(-3425.6470, 983.2880, 8.3467, 2.3217)},
    [10] = {name = 'Banham Canyon', coords = vector3(-2945.1321, 439.7883, 15.2517), heading = 180.0, walkCoords = vector4(-2945.0833, 441.5202, 15.2633, 0.7152)},
    [11] = {name = 'Redwoods Lights', coords = vector3(791.8624, 2176.9709, 52.6484), heading = 328.3, walkCoords = vector4(795.2445, 2175.8972, 52.6484, 238.9286)},
    [12] = {name = 'Little Seoul', coords = vector3(-440.7907, -950.1838, 29.3928), heading = 185.8, walkCoords = vector4(-447.1783, -948.0558, 29.3928, 355.6071)},
    [13] = {name = 'Rancho', coords = vector3(535.4294, -1939.6061, 24.9851), heading = 303.2, walkCoords = vector4(532.7325, -1938.2207, 24.9851, 215.7966)},
    [14] = {name = 'Rancho', coords = vector3(534.1262, -1934.4409, 24.9851), heading = 214.9, walkCoords = vector4(532.7325, -1938.2207, 24.9851, 215.7966)},
    [15] = {name = 'Cypress Plats', coords = vector3(754.3017, -1857.6561, 29.2916), heading = 88.1, walkCoords = vector4(753.0602, -1860.0413, 29.2922, 176.7569)},
    [16] = {name = 'Cypress Plats', coords = vector3(747.6134, -1838.2195, 29.2916), heading = 101.3, walkCoords = vector4(749.0723, -1832.0380, 29.2916, 353.5801)},
    [17] = {name = 'La Mesa', coords = vector3(810.8904, -1599.2942, 31.4992), heading = 84.1, walkCoords = vector4(809.5206, -1597.8706, 31.5369, 37.2536)},
    [18] = {name = 'La Mesa', coords = vector3(788.1325, -1604.3510, 31.2265), heading = 200.1, walkCoords = vector4(808.0738, -1598.0221, 31.4981, 303.9822)},
    [19] = {name = 'El Burro Heights', coords = vector3(1739.3311, -1597.0487, 112.5431), heading = 107.5, walkCoords = vector4(1720.7961, -1608.5814, 112.4857, 91.3294)},
    [20] = {name = 'El Burro Heights', coords = vector3(1594.0192, -1651.6287, 88.1728), heading = 288.5, walkCoords = vector4(1593.9958, -1649.9867, 88.1652, 9.7610)},
    [21] = {name = 'El Burro Heights', coords = vector3(1515.5859, -2137.5784, 76.7392), heading = 177.5, walkCoords = vector4(1497.2565, -2140.4409, 76.5606, 179.8600)},
    [22] = {name = 'Elysian Island', coords = vector3(249.4802, -3110.5566, 5.7938), heading = 2.6, walkCoords = vector4(226.5254, -3099.4268, 5.7903, 111.1132)},
    [23] = {name = 'Zancudo River', coords = vector3(-1132.3706, 2709.7043, 18.8625), heading = 223.1, walkCoords = vector4(-1130.2653, 2707.2156, 18.8004, 220.3652)},
    [24] = {name = 'Galilee', coords = vector3(1338.8416, 4359.8291, 44.3670), heading = 314.6, walkCoords = vector4(1356.4813, 4388.0562, 44.3438, 350.0020)},
    [25] = {name = 'Alamo Sea', coords = vector3(726.7291, 4170.5630, 40.7092), heading = 342.8, walkCoords = vector4(719.4875, 4169.7812, 40.7092, 111.1124)},
    [26] = {name = 'Stab City', coords = vector3(27.7478, 3660.2900, 40.4406), heading = 330.9, walkCoords = vector4(30.4320, 3668.9729, 40.4406, 328.3040)},
    [27] = {name = 'Stab City', coords = vector3(28.4585, 3659.0654, 39.7550), heading = 253.6, walkCoords = vector4(34.9545, 3655.6733, 39.7509, 234.3214)},
    [28] = {name = 'Stab City', coords = vector3(48.6267, 3703.4275, 39.7551), heading = 331.4, walkCoords = vector4(45.7842, 3704.4722, 39.7550, 58.6899)},
    [29] = {name = 'Stab City', coords = vector3(72.6780, 3737.4341, 39.6362), heading = 20.9, walkCoords = vector4(66.2175, 3759.7874, 39.7305, 9.0571)},
    [30] = {name = 'Mount Chiliad', coords = vector3(426.7389, 6478.9844, 28.8474), heading = 138.2, walkCoords = vector4(418.7499, 6469.0435, 28.8147, 142.6546)},
    [31] = {name = 'Mount Chiliad', coords = vector3(1536.4108, 6334.8618, 24.0758), heading = 317.4, walkCoords = vector4(1546.3237, 6334.1494, 24.0805, 255.7325)},
    [32] = {name = 'Mount Chiliad', coords = vector3(1439.6581, 6332.0635, 23.9613), heading = 352.1, walkCoords = vector4(1444.9840, 6333.8262, 23.8550, 270.7842)},
    [33] = {name = 'Mount Gordo', coords = vector3(3314.4446, 5177.8701, 19.6146), heading = 46.8, walkCoords = vector4(3314.9702, 5180.3481, 19.6146, 20.9253)},
    [34] = {name = 'San Chianski Mountain Range', coords = vector3(2890.8730, 4487.1201, 48.1380), heading = 315.6, walkCoords = vector4(2894.0471, 4494.9541, 48.0934, 332.4745)},
    [35] = {name = 'Grand Senora Desert', coords = vector3(2357.7673, 3138.8091, 48.2087), heading = 164.9, walkCoords = vector4(2351.5237, 3127.8171, 48.2087, 161.9092)},
    [36] = {name = 'Grand Senora Desert', coords = vector3(2354.7903, 3050.6738, 48.1524), heading = 86.8, walkCoords = vector4(2338.2944, 3051.0266, 48.1518, 88.0178)},
    [37] = {name = 'Grand Senora Desert', coords = vector3(2416.8806, 3151.8010, 48.1929), heading = 273.8, walkCoords = vector4(2431.8228, 3153.8755, 48.2151, 267.7745)},  
    [38] = {name = 'Ron Alternates Wind Farm', coords = vector3(2341.0496, 2602.0762, 46.6677), heading = 177.1, walkCoords = vector4(2341.2302, 2594.2778, 46.6676, 180.9345)},
    [39] = {name = 'Grand Senora Desert', coords = vector3(1528.4761, 1711.1251, 109.9654), heading = 258.8, walkCoords = vector4(1538.6237, 1708.8304, 109.7883, 243.7714)},
    [40] = {name = 'Rockford Hills', coords = vector3(-806.7399, 178.4952, 76.7408), heading = 217.8, walkCoords = vector4(-800.9437, 179.0302, 76.7408, 274.7694)},
    [41] = {name = 'San Andreas', coords = vector3(-1129.3302, -1604.9845, 4.3984), heading = 208.5, walkCoords = vector4(-1125.0582, -1616.4568, 4.3984, 202.4620)},
    [42] = {name = 'Redwoods Lights', coords = vector3(839.4082, 2176.4814, 52.2894), heading = 146.8, walkCoords = vector4(837.0754, 2177.4397, 52.2983, 55.8873)},
    [43] = {name = 'Redwoods Lights', coords = vector3(841.3292, 2170.9041, 52.2807), heading = 335.1, walkCoords = vector4(842.6801, 2174.2207, 52.2792, 334.0139)}

    -- Add more meet up spots here as needed
}
PreviouspersonalitySettings.luaNextEnvi-Weddings

Last updated 8 hours ago

📒
📱