The error is here, probably something with ESX version because in my server all working fine in this part. Maybe someone knows the equivalent on ESX v2?
Sorry but lot of scenarios exist and I only can test on my environment (detailed on top) , if your environemnt changes a bit maybe you have to do some little modifications.
Hi. Your script is great but I have a little problem. What happens is that no matter how long or how many hits you give, the fight never ends. I tried to change the life values that are assigned a little bit, but then the fight is over immediately.
If you see your health go down, donât you feel that it is more than the health you normally have?
The fight ends in any of these situations:
-When someone leaves another with 150 life
-When time runs out (4 min)
-When someone strays too far from the ring
If any of them do not work, you will have to debug and see why the events in your environment are not fired.
Iâm getting the same error (canât join fight) as abonilla when trying to join the fight. I am using es extended 1.2 and am receiving no errors in the F8 console, but on my server console I am getting
âSCRIPT ERROR: @xex_streetfight/server.lua:31: attempt to index a nil valueâ
Thanks @Neurotic25 , although I have noticed that ESX v2 users would also have to change one more line. I have published a version adapted to ESX v2, you can download it from the original post. It is not tested but from what they say it should work.
A greeting!
Great job man, as always i use it
but if you make some changes it would be awesome , try to add language file like en.lua or what ever so we can change the text there easier to find it inside script but thanks anyway
Iâve not bothered to use a resource with maps in it as Iâve always liked to keep my server light for my kids. But I couldnât resist being able to be a street fighter so here I am.
With that being said, would someone help guide me on getting this installed? I donât know what to do with map files. (I am looking now though).
Maps are like any other resource, they start with âstart mapfolderâ, even so, if you donât want to use the map you can do it, you will only have to adjust coordinates. Or add a map that you have tested first, this I think is quite optimized and does not give any error in console.