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

personalitySettings.lua

-----------------------------------------------------------------------------------------------------------------
-- PED PERSONALITY SETTINGS
-----------------------------------------------------------------------------------------------------------------

Config.SnitchPeds = {                -- Peds that will alert the police if they see you selling drugs
 -- (Snitch Peds will be AUTOMATICALLY BLACKLISTED - no need to add them to the BlacklistedPeds)
    ['s_f_y_cop_01'] = { faceVariation = false },      -- faceVariation is optional, if false - it will be every variation
    ['s_m_y_hwaycop_01'] = { faceVariation = false },  -- most peds have 1 or 2 face variations
    ['s_m_m_paramedic_01'] = { faceVariation = false },
    ['s_m_y_fireman_01'] = { faceVariation = false },
    ['mp_m_shopkeep_01'] = { faceVariation = false },
    ['mp_s_m_armoured_01'] = { faceVariation = false },
    ['a_m_m_tourist_01'] = { faceVariation = 1 },
    ['a_m_m_genfat_01'] = { faceVariation = 2 },
    ['a_m_y_beach_01'] = { faceVariation = 2 },
    ['a_m_y_bevhills_01'] = { faceVariation = 1 },
    ['a_f_m_beach_01'] = { faceVariation = 1 }, 
    ['a_f_m_bevhills_01'] = { faceVariation = 1 },
    ['cs_lifeinvad_01'] = { faceVariation = false },
}

Config.PoliceInformantPeds = {       -- Peds that will inform the police if you sell drugs to them
  -- (Add as many as you like, make sure they are NOT BLACKLISTED or SNITCHES above)
    ['a_m_m_hillbilly_01'] = { faceVariation = 1}, -- faceVariation is optional, if false - it will be every variation
    ['a_m_m_hasjew_01'] = { faceVariation = 1},
    ['s_m_y_dealer_01'] = { faceVariation = 1},
}

Config.BlacklistedPeds = {          -- Peds that will never purchase drugs  
    ['s_m_y_cop_01'] = { faceVariation = false },    -- faceVariation is optional, if false - it will be every variation

    -- Add more here - NOTE: You don't need to add snitches here, they will be automatically blacklisted
}


-----------------------------------------------------------------------------------------------------------------
-- PERSONALITY AND RELATIONSHIP SETTINGS
-----------------------------------------------------------------------------------------------------------------

Config.PedRelationshipKillPenalty = 5 -- The amount of relationship you will lose when you kill a Ped that you have an existing relationship with. 0 to disable. (Default: 5)
Config.KillPenaltyOnlyWhenSelling = false -- true = You will only lose relationship when you are actively selling (Better for overall performance.)
Config.DrugQualityAffectsRelationships = true -- If true, the quality (metadata.quality OR metadata.purity) of the drug will affect the relationships with the customer

Config.QualityRelationshipBonus = {
    [0] = -20,  -- 0%
    [1] = -8,  -- 10% or less
    [2] = -6,  -- 20% or less
    [3] = -4,  -- 30% or less
    [4] = -2,  -- 40% or less
    [5] = 0,  -- 50% or less
    [6] = 2,  -- 60% or less
    [7] = 3,  -- 70% or less
    [8] = 5,  -- 80% or less
    [9] = 8,  -- 90% or less
    [10] = 15,  -- 100%
}

Config.PersonalityTypes = {
    ['Family'] = 'aggressive',
    ['Biker'] = 'aggressive',
    ['female_vagos'] = 'aggressive',
    ['Hillbilly'] = 'aggressive',
    ['SECURITY'] = 'aggressive',
    ['prisonguard'] = 'aggressive',
    ['female_biker'] = 'aggressive',
    ['female_ballas'] = 'aggressive',
    ['musclewoman'] = 'aggressive',
    ['Swat'] = 'aggressive',
    ['streamed_male_gang'] = 'aggressive',
    ['Police'] = 'aggressive',
    ['army'] = 'aggressive',
    ['CONSTRUCTION'] = 'aggressive',
    ['marabunte'] = 'aggressive',
    ['Vagos'] = 'aggressive',
    ['servicemales'] = 'aggressive',
    ['MP_F_Freemode'] = 'aggressive',
    ['servicefemales'] = 'aggressive',
    ['ballas'] = 'aggressive',
    ['criminalmale'] = 'aggressive',
    ['bouncer'] = 'aggressive',
    ['merryweather'] = 'aggressive',
    ['cult'] = 'aggressive',
    ['muscleman'] = 'aggressive',
    ['police_female'] = 'aggressive',
    --
    ['Michael'] = 'average',
    ['streamed_male'] = 'average',
    ['mediumrichman'] = 'average',
    ['MIssion'] = 'average',
    ['mediumaverageman'] = 'average',
    ['youngrichman'] = 'average',
    ['mediumpoorman'] = 'average',
    ['Franklin'] = 'average',
    ['Default'] = 'average',
    ['trucker'] = 'average',
    ['youngrichwoman'] = 'average',
    ['mediumaveragewoman'] = 'average',
    ['default_female'] = 'average',
    ['oldmediumman'] = 'average',
    ['fitnessmale'] = 'average',
    ['mediumrichwoman'] = 'average',
    ['fitnessfemale'] = 'average',
    ['weicheng'] = 'average',
    ['mediumpoorwoman'] = 'average',
    --
    ['streamed_female'] = 'calm',
    ['saltonfemale'] = 'calm',
    ['oldmediumwoman'] = 'calm',
    ['bumsfemale'] = 'calm',
    ['saltonmale'] = 'calm',
    ['oldpoorman'] = 'calm',
    ['oldpoorwoman'] = 'calm',
    ['lifeguardfemale'] = 'calm',
    ['female_family'] = 'calm',
    --
    ['youngaverageweakwoman'] = 'scared',
    ['youngaverageweakman'] = 'scared',
    ['youngpoorman'] = 'scared',
    ['youngpoorwoman'] = 'scared',
    ['oldrichwoman'] = 'scared',
    ['oldrichman'] = 'scared',
    --
    ['bumsmale'] = 'addict',
    ['PRISONER'] = 'addict',
    ['methhead'] = 'addict',
    ['TREVOR'] = 'addict'
}

Config.WealthTypes = {
    ['oldrichwoman'] = 'rich',
    ['oldrichman'] = 'rich',
    ['mediumrichman'] = 'rich',
    ['youngrichman'] = 'rich',
    ['trucker'] = 'rich',
    ['youngrichwoman'] = 'rich',
    ['mediumrichwoman'] = 'rich',
    ['Biker'] = 'rich',
    ['criminalmale'] = 'rich',
    --
    ['youngaverageweakwoman'] = 'average',
    ['youngaverageweakman'] = 'average',
    ['mediumaverageman'] = 'average',
    ['mediumaveragewoman'] = 'average',
    ['oldmediumman'] = 'average',
    ['streamed_female'] = 'average',
    ['MIssion'] = 'average',
    ['streamed_male'] = 'average',
    ['streamed_male_gang'] = 'average',
    ['saltonfemale'] = 'average',
    ['Default'] = 'average',
    ['oldmediumwoman'] = 'average',
    ['saltonmale'] = 'average',
    ['lifeguardfemale'] = 'average',
    ['female_family'] = 'average',
    ['default_female'] = 'average',
    ['fitnessmale'] = 'average',
    ['fitnessfemale'] = 'average',
    ['weicheng'] = 'average',
    ['Family'] = 'average',
    ['female_vagos'] = 'average',
    ['SECURITY'] = 'average',
    ['prisonguard'] = 'average',
    ['female_biker'] = 'average',
    ['female_ballas'] = 'average',
    ['musclewoman'] = 'average',
    ['Swat'] = 'average',
    ['Police'] = 'average',
    ['army'] = 'average',
    ['CONSTRUCTION'] = 'average',
    ['marabunte'] = 'average',
    ['Vagos'] = 'average',
    ['servicemales'] = 'average',
    ['MP_F_Freemode'] = 'average',
    ['servicefemales'] = 'average',
    ['ballas'] = 'average',
    ['bouncer'] = 'average',
    ['merryweather'] = 'average',
    ['cult'] = 'average',
    ['muscleman'] = 'average',
    ['police_female'] = 'average',
    --
    ['bumsmale'] = 'poor',
    ['bumsfemale'] = 'poor',
    ['PRISONER'] = 'poor',
    ['methhead'] = 'poor',
    ['mediumpoorman'] = 'poor',
    ['youngpoorman'] = 'poor',
    ['youngpoorwoman'] = 'poor',
    ['mediumpoorwoman'] = 'poor',
    ['oldpoorman'] = 'poor',
    ['oldpoorwoman'] = 'poor',
    ['Michael'] = 'poor',
    ['Franklin'] = 'poor',
    ['TREVOR'] = 'poor',
    ['Hillybilly'] = 'poor'
}
PreviousgangZoneSettings.luaNextspecialContactSettings.lua

Last updated 8 hours ago

📒
📱