You are currently viewing FiveM Speed Traps! – NFS Most Wanted-style speed cameras

FiveM Speed Traps! – NFS Most Wanted-style speed cameras

Description:
If you want to prove everyone that you have a fastest car on the FiveM Roleplay Server this is a script for you.
You can add multiple camera trap locations which will record your max speed.
Than you can see your rank on the leaderboard 😉

If you need FiveM Gameserver with one click installation check this:
https://zap-hosting.com/rpscripts
20% discount if you want: denmak-a-6883

If you need some general Fivem help, you can take a look at this Discord server:
https://discord.gg/Bdk3QHX

Features:
Configurable speed camera name, coords and minimumSpeed. (minSpeed is calculated using GetEntitySpeed(), you will see why in a moment)
speedtraps = {
{name = “68th Devil”, x = 880.364, y = 2698.003, z = 40.255, minSpeed = 10.0},
{name = “Sandy Driveby”, x = 1212.397, y = 3536.227, z = 34.568, minSpeed = 22.35},
{name = “Tongva Valley Spy”, x = -1511.871, y = 1445.777, z = 120.061, minSpeed = 22.35},
{name = “Paleto Problems”, x = -110.463, y = 6266.835, z = 30.543, minSpeed = 22.3

Automatic location name.
– You will automatically see the location on the leaderboard…umm… SPEEDboard menu, based on the speed camera coords.

Automatic measurement system calculation.
– The speed is automatically calculated based on the clients measurement system’s setting.

Adding a new speed camera:
Just add a new row in the speedtraps table:
{name = “Camera Name”, x = 0.0 –[[xCoord]], y = 0.0 –[[yCoord]], z = 0.0 –[[zCoord]], minSpeed = 10.0 –[[float. Is the speed that you get with GetEntitySpeed()]]},

Dependencies:
mysql-async — for the leaderboards functionality
Lobby menu framework — for the leaderboards menu

Installation:

  1. Download the latest version of the script and Lobby menu framework
  2. Extract lslSpeedtrap and critLobby into your resources/ folder (choose wherever you like it to be)
  3. add start lslSpeedtrap and start critLobby statement to server.cfg
  4. execute speedtrapLB.sql
  5. All set, restart server

What is FiveM?
FiveM is a modification for Grand Theft Auto V enabling you to play multiplayer on customized dedicated servers, powered by Cfx.re.
Players who jump into one of the user-created RP servers becomes even more immersed in the game – as they take on the form of a Roleplay Character, which can be customized in a number of different ways.
FiveM supports the general purpose programming language Lua as one of its scripting languages.

At the moment this video was recorded this FiveM Script was free.

Here is a Review of the FiveM scripts on the RP SCripts channel: