OLRP Speed Limiter

๐ŸŽฏ Overview

OLRP Speed Limit is a highly efficient and performance-friendly vehicle speed limiter for FiveM servers. This script limits vehicle speeds to a configurable maximum (default: 320 km/h) while maintaining excellent server performance even with high player counts.

Key Features

  • โšก Performance Optimized โ€” Frame-based checking system that scales well with high player counts

  • ๐Ÿ”ง Configurable Speed Limit โ€” Set to 320 km/h by default, fully customizable

  • ๐Ÿš— Direct Speed Limiting โ€” Uses SetVehicleMaxSpeed for reliable speed control

  • ๐Ÿš” Emergency Vehicle Support โ€” Allow emergency vehicles to exceed limits

  • ๐Ÿ‘ฎ Admin Commands โ€” Full admin control over speed limiting

  • ๐Ÿ“Š Violation Logging โ€” Track and log speed violations

  • ๐ŸŽฏ Zone-Based Limits โ€” Different speed limits for different areas (optional)

  • ๐Ÿ”“ Player Bypass โ€” Allow specific players to bypass speed limits

๐Ÿ“‹ What This Script Does

1

Speed Enforcement

Automatically enforces maximum speed limits on all vehicles.

2

Performance Management

Efficient checking system that doesn't impact server performance.

3

Emergency Vehicle Handling

Allows police, ambulance, and fire vehicles to exceed limits.

4

Violation Tracking

Logs and tracks players who exceed speed limits.

5

Admin Control

Complete admin control via in-game commands.

Speed Limiting Features

  • Default Limit โ€” 320 km/h maximum speed

  • Per-Vehicle Enforcement โ€” Each vehicle is checked individually

  • Smooth Application โ€” Uses hybrid enforcement for smooth speed limiting

  • Emergency Exception โ€” Fire, police, and ambulance vehicles exempt

  • Admin Override โ€” Admins can bypass or adjust limits

๐ŸŽฎ Configuration

Basic Settings

Emergency Vehicles

๐Ÿ“Š Performance

  • Optimized Threading โ€” Efficient update system that doesn't impact FPS

  • Scalable โ€” Works well with 50-200+ players

  • Configurable Frequency โ€” Adjust check intervals for performance

  • Memory Efficient โ€” Proper cleanup and garbage collection

๐Ÿš€ Intended Features

  • Prevent vehicle speed abuse

  • Maintain server performance

  • Allow emergency vehicles to respond quickly

  • Provide admin control over speed limits

  • Track and log violations

  • Support different speed zones

๐Ÿ“ž Support

For configuration help or issues, contact the OLRP development team.

Last updated