[RELEASE][ESX] xex_streetfights - 1vs1 Streetfighting / Boxing with bets

Hi everyone,

I have used many resources from this forum and other sites, so I share my first mod with whoever may be interested, in a certain part I feel indebted to the community :wink:

In short, a resource to enable street fights with a custom ring. Easily configurable and scalable.

All the instructions are in the github repository:

Direct Download ESX v1: Download

Direct Download ESX v2: Download

Some images:

Video:

XeX scripts:
:gun: XEX WEAPONLICENSES
:pill: XEX MEDICALHELP
:moneybag: XEX LOOTBOX
:airplane: XEX PILOTJOBS
:warning: XEX EAS
:pushpin: XEX BLIPS CREATOR

Thanks @Patoche-Mapping for the ring map:

Any questions I will be pending,
a greeting! :boxing_glove:

28 Likes

nice release dude :slight_smile:

1 Like

I press ‘E’ to join the blue or red side but nothing happen. The bet point work fine but the ponit to joint the fight not working. Can someone help me please?

You need to use es_extended (ESX), if already have it, any errors on F8 or server console?

Same code is working on my own server, anyone can join and try it there:
Pecado City (with xex_streetfight): Join
I’m running es_extended 1.2.0 and latest server artifacts (2967)

1 Like

Nice! Looks awesome :muscle:t2:

2 Likes

When I joined the team, I got this error
SCRIPT ERROR: @xex_streetfight/client.lua:293: attempt to concatenate a nil value (global ‘actualCount’)

2 Likes

you give me this mistake too

1 Like

My fault, optimizing the release I made a mistake. Fixed on GitHub.
If you want to update the code:

function countdown()
    local actualCount = 0
    for i = 5, 0, -1 do
        actualCount = i
        Citizen.Wait(1000)
    end
    showCountDown = false
    actualCount = 0

    if participando == true then
        SetPedMaxHealth(PlayerPedId(), 500)
        SetEntityHealth(PlayerPedId(), 500)
    end
end

For:

local actualCount = 0
function countdown()
    for i = 5, 0, -1 do
        actualCount = i
        Citizen.Wait(1000)
    end
    showCountDown = false
    actualCount = 0

    if participando == true then
        SetPedMaxHealth(PlayerPedId(), 500)
        SetEntityHealth(PlayerPedId(), 500)
    end
end

Thx all 4 the feedback!

1 Like

:wave: Hey @Pecado_City ,
It doesn’t’ work. I pressed E and the number stay 0/2.

1 Like

flawed script. also the ymap causes unloading of real estate office FYI

2 Likes

It is working on my server right now. I use the map without problems, but it is separate to be able to change it for any of the existing ring maps. Just remove the ring and change the coordinates on the resource.
For those who do nothing when pressing E, I repeat that ESX is essential. If you have any errors, report the error in F8 and the server console.

1 Like

error on myserver i dont work pressed E stay 0/2 on red and blue team

1 Like

In addition, I have a question. After the second player joins the team, he will not wear gloves.

2 Likes

hi , nice work. But i appreciat when someone use my mapping to credit me :sweat_smile: ty.

3 Likes

This is a good one

2 Likes

Nice Work!

2 Likes

You are absolutely right, preparing the upload took me longer than I expected, and when I went to look for the map that I remembered having downloaded from GTA mods I did not find it, in a quick search in the forum either so in principle I did not put anything. There is no excuse, thank you very much :wink:

parts missing from the ring, any solution?

1 Like

no mistake kozol players still can’t join the fight can you help?

1 Like

It should already be ready too. I just updated the code and tested it again on the server and apparently everything works fine.