STANDALONE | Redzone and Greenzone script with speed limiter for FiveM!

I’m pretty sure this resource is just a copy of [RELEASE] SafeZones and that was uploaded long before this one…

Compare the code. Me and my friend wrote this from scratch.

yeah I know the code isn’t stolen, but maybe you should check on the forums before making a script if there already is one? considering you made an identical copy of that script

Okay so why wouldnt I be allowed to release my variant? If you read you would understand that me and my friend created this to get into coding. Take your smart ass somewhere else please, thanks in advance.

3 Likes

Great script, thanks a lot :grinning:

The only issue I’ve had is the car speed limiter, it either limits everyone to the green zone speed or not at all.

Hmm that is very odd, are you sure it is installed correctly and has no errors?

Update: Added godmode to people inside the greenzone!

Not getting any of the features

1 Like

this resource does not work proper for me
i am in a green zone and i still can shoot or die
no god mode etc
what i miss ?

Check if you have errors. Most likely something is interfering or you installed it wrong.

no errors either in F8 or live console

i don’t know why but this script limit the car speed at 47kmh.
i changed speed in c_m_gz but not work,
i commented out 14,15 and 59 but still limited speed.

47km/h is I believe the default speed for when you are inside of a greenzone. It should only apply this when you are in a greenzone.

how can i disbale speed limits?please tell me if you know.

Not sure whether u can easily disable it, you could just put it to a really large number that in reality no one would hit.

these either arent standalone or they are broken. completely bugged on qbccore.

I havent seen a single piece of qbcore code, however if you look at the code of my script you can see its using the fivem framework and is not in need of any other server framework. Maybe a “standard” qbcore resource is clashing with mine? I have no clue, I don’t know qbcore.

1 Like

lovely script, issue i have … when i enter safe zone then exit i am immune to other players and i can not damage them, i do /kill to kill myself and then i can be hurt again

how create red zone ?? or grean zone ?

This script bugged out for me and every time someone load in server they automatically got god mode