[ESX] esx_tk_gangareas - Gang Areas

esx_tk_gangareas

About

This scripts adds a new activity for your server’s gangs; gang areas / gang wars / territories. Script has been tested with ESX V1 Final, but should work with all ESX versions. If not, you can always contact me!

Features

  • Well-optimized
    • 0.00 ms | Idle
    • 0.02 ms - 0.10 ms | In usage
  • Uses FiveM Asset Escrow system, but if there is anything you would like to get changed or added to the editable file, contact me and I can probably change it!
  • Highly customizable
    • Change everything related to NPCs (health, armor, weapons, etc.)
    • Add & remove areas
    • Change blips and markers
    • & much more
  • How does it work? (watch video above for a good understanding)
    • There are in total 9 different gang areas around the map (you can add more)
    • By default, all areas are uncaptured
    • Trying to capture an area will spawn waves of NPCs with weapons that will try to shoot you
      • If you die or walk too far away, the capturing will fail
      • If you manage to defeat all the waves, the area will become your gang’s own area
    • When you own an area, you can:
      • Put items, weapons and money in the area stash
      • Take items, weapons and money from the area stash
      • Wash money (configurable time and fee)
      • The main reason you’d want to own an area is because you can generate items into the area stash
        For example, you can start generating weapons or drugs and they will automatically be placed in your area stash
      • All areas have separate stashes etc.
    • Areas also have a level
      • Areas will automatically level up with time
      • The level affects how fast the area washes money and how fast items generate
    • Other gang’s can capture your area
      • In that case, NPCs will spawn that will defend your area
      • You will also get a notification, if someone tries to capture your area
      • If the capturer manages to defeat all the waves of NPCs, their gang will now own the area
      • Only the area level will reset when captured. All the items inside the stash and money in the money washer will stay
Screenshots

1

4

5

6

7

8

10

Config

Requirements

Purchase (19.99€ + VAT)


My other work

Code is accessible No
Subscription-based No
Lines (approximately) ~1300
Requirements es_extended, esx_menu_default, esx_menu_dialog, mysql-async or oxmysql
Support Yes
1 Like

Update 1.0.1

  • Small bug fixes

Update 1.0.2

  • Moved job check to editable files

Update 1.0.3

  • Fixed money washing returning black money instead of “normal” money

Update 1.0.4

  • Fixed crashing with latest GTA V game build

Update 1.0.5

  • Fixed error with ped spawning happening on rare occasions

Update 1.0.6

  • Fixed black money not working

Update 1.0.7

  • Fixed money not being given when washing black money on older ESX versions
  • Removed random prints

Update 1.0.8

  • Added Config.EnableMoneyWashing

Update 1.0.9

  • Skip wave if NPCs are too far away from the area
  • Fix error when ped data was trying to be set when ped didn’t exist

Update 1.1.0

  • Minor bug fixes

Update 1.2.0

  • Performance improvements

Update 1.2.1

  • Add possibility of defining spawn coords for peds for each area

Update 1.2.2

  • Fix error caused by latest update

Update 1.2.3

  • Minor changes