[Release][StandAlone] Speed Control

Hello :raised_hand:.
As The Title Says This is a Script that will Allow you to Control the Speed of Player’s Vehicle. What it does is Limiting Player’s Vehicle Speed in Certain Spot of the map To Pre-Defined number (All Editable In Config.lua)
You Can Add Multiple Spots in the Config.lua File To Prevent Players From Griefing with Theyr cars. For Example you Can add Police Station Location to the Config file and Limit Players Vehicle Speed to 40 KM/h in there
This Script is Very Like my Previous Release on The Forum Cover Black List


How To Add a Spot :black_nib: :
Open Config.lua File And Add A line in Zones Structure like this:
{x = 0.0,y = 0.0,z = 0.0,UseZ = false/true,distance = 20.0,LimitSpeed = 50.0},

  • X,Y,Z = Your Spot Location
  • UseZ = Set True if you want script to check the player Z when checking distance.
  • Distance = How Far Away From the Spot Players Vehicle Speed Should be Limited
  • LimitSpeed = Speed That You Want Players Vehicle To be Limited To

Note :ballot_box_with_check: :
If You Want To Use MPH set MPH in Config.lua File To true Otherwise it will use KM/h as Default


Github :link: :


As Always . Don’t Forget to Give :heart: If you Like this Script!

7 Likes

@rezaCyber ty for the releaze, the AI dosnt respond to this script, and is there a way you can make some sort of notification when people enter the section with speed limit ? maybe a slow down sign kind of pic on top of the mini map ? im not sure if you are bale to add this or want to …

@yoinier28 Hi. i will add a Notification when Player enters the Speed Limit area. thanks for your idea

Added Notification When Player Enters a Limited Speed Spot ( I Didn’t test it )

Would there be a way to make it more natural instead of instantly setting their speed? Works how it’s intended just thinking needs to be more natural

I was Thinking about Something like this
If Player vehicle speed is like 150 KM/h when he enters a Place that speed of his vehicle should be reduced each Second his speed gets reduced by 10 KM/h until it reaches the final speed.
But implanting something like this will Have many bugs and needs time to Fix!

1 Like

That sounds viable, I mean if it can be done ish okay then i’m down haha

Dast Khosh Dayi

Is this gone get updated anytime?

Bug

  • Entering the zone above the set speed limit it boots you out of vehicle.