🟧 [ESX][QB] XeX Gang Wars - Conquest of territories by gangs

Between capture and capture there is a delay. As soon as you capture, you can’t do it again until a minute has passed (Config.timeBetweenPoints). From that minute on, if the zone is conquerable you can return to conquer another point. Upon reaching 3 it becomes your zone and anyone except your own job can conquer it.

All this can be easily modified either with the config file or by making small adjustments on the code. If what you want is to recapture the same area with the same job, I think the hint I gave you above is on the right track. All the best!

can you make a gang zone using vec 2

Ok I unterstand what you mean but when i capture the point and the point is conquerable I cant capture it with a another job it says you have to wait to capture points even if its conquerable and I tried it with another char and job too and that should work right? But it doesnt

by the way big thanks for taking the time for me! :slight_smile:

This message pops up when the zone is still marked with a recent capture (pointRecent = true, on client.lua line 111).

The problem may come from the fact that the server loop is not able to set this variable to false and send it to the client when the specified time has elapsed (Config.timeBetweenPoints). It may have to do with your server using os.time() as seconds and not milliseconds. If the area was really conquerable and this point had updated well you should be able to conquer.

I hope you get it, greetings!

hi thanks for you free script and nice job but can i know why i cant open config.lua and all
?

1 Like

Hi, thank you! You can download Github version, idk why this happen on Tebex because it don’t have any scrow configured.

Tell me whatever you need!

Hey, what’s the point? It’s gang wars, but how to know which zone is which gang? And do gang’s get notified when the gang zone is qonquering?

2 Likes

Hello! It’s a gang war for territory. It is intended for gangs because it is restricted by jobs but it could be among others. A gang cannot know which gang has conquered a territory, it can only know that it is conquered.

I have this modified to start capture only if player is drifting and its awesome , was wondering how hard would it be to replace zones with polyzone and if its possible to have a clain territory trigger to put inside other jobs like races to claim zone if player won the race on that territory like nfs carbon , anyways cheers

great script u clown ass mf u locked the config file and all the other files how am i to fix ur bs

1 Like

and fyi i bought it months ago i was giving u time to fix it but u did not

2 Likes

bro use github man

SCRIPT ERROR: @xex_gangwars/server/esx.lua:76: attempt to call a nil value (field ‘showNotification’)
can u help me?

hey guys, i dont find any information.
is it possible to safe the captured zones?
Or can i deactivate the reset after restart?

This plugin is a shit show

2 Likes

fyi thats not the point if you pay for something it should work

This is not plug and play, and ofc is free… If you know what you are doing you can adapt it to your needs :slight_smile:

guys how can i save the progress of the gangs?

pls i need help with ,I very noob …sorry

Store the config as JSON on your DB