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
  • pip-edward-vermont
  • Trap Phone isn't working
  • Scales aren't working
  • I can't sell right now
  • Cars not coming to locatio set when selling
  1. Premium Scripts
  2. Envi-Trap-Phone

Common Issues

PreviousEnvi-Trap-PhoneNextInventory Setup

Last updated 8 hours ago

pip-edward-vermont

There is a lot of unconfirmed information surrounding this crash hash. This crash is not exclusive to Envi-Trap-Phone.

Here are some steps you can try to fix the issue first

  • Update Everything: Update both the envi-trap-phone and envi-trap-props through the Cfx.re Portal.

  • Clear Local Data: Ensure all players delete the folders found in: C:\Users\[username]\AppData\Local\FiveM\FiveM.app\data\

  • Update Server Artifacts/Game Build: Consider updating your server artifacts or game build version. This can improve compatibility with the latest FiveM client updatesβ€”please refer to the official FiveM documentation for detailed instructions.

If you are still experiencing this crash after trying the above while using Envi-Trap-Phone then you would need to disable all gang features. This currently seems to be the only known way to guarantee you won't get the crash. To do so navigate to shared/gangZoneSettings.lua and set Config.DisableGangFeatures to true at the literal very bottom of the file.

We have not pinpointed exactly why this crash happens. There is a related to this. This crash seems to be very rare after all the updates we have done to the script, however it does still happen from time to time. We are trying to work with CFX to get this resolved as we believe this is something that was broken in an update to FiveM. We are doing what we can to help resolve this, but it's largely out of our hands.


Trap Phone isn't working

If you do not have any errors in your F8, nor the TxAdmin Live Console, then try doing the /fixTrapPhone command. The Trap Phone UI is moveable and it's possible you dragged it off screen. This command resets the position of the phone UI.


Scales aren't working

If you're seeing the above error message when trying to use the scales then ensure you've properly following the guide on to the config file as nearly all the issues related to the scales are due to incorrect drug configuration


I can't sell right now

If you're seeing this then odds are it's one of three things:

  1. You're on the Police job

    1. Police are blocked from selling drugs in this script

    2. No this is not configurable

  2. You are in a zone that has been set as not being able to sell in

  3. Custom maps aren't supported for this script


Cars not coming to locatio set when selling

Most likely cause is due to being in or near an MLO that does not have navmesh set up properly. Best bet is to go to an area that is not near an MLO, or try to move the location until you find a spot that works

Check the Config.NativeZones in you file

πŸ“’
πŸ“±
gangZoneSettings.lua
large thread on GitHub
how to add drugs