โš™๏ธFull Configuration Breakdown

1. Core Settings

Config.BetterDriveby = true            -- Master switch (keep enabled)  
Config.DebugMode = false               -- Enable ONLY for troubleshooting  
Config.DebugCommandName = "carseat"    -- In-game command: /carseat  

Pro Tip: Use /carseat while in a vehicle to see seat permissions in console.


2. Realism Enhancements

Look Behind Requirement

Config.EnableLookBehind = true         -- Players must face backward to shoot behind  
Config.LookBehind = -7.0               -- Angle detection (-5=strict to -10=lenient)  

Values Explained:

  • -7.0 = 70ยฐ rear cone restriction

  • Vehicle-specific override example:

    luaCopy

    Config.CustomVehicleLookBehind = {  
        ["granger"] = -9.0 -- Wider angle for armored vehicles  
    }  

3. Speed Restrictions

Recommended Presets:

Server Type
Min
Max

Hardcore RP

20

50

Cops & Robbers

0

100

Realism

15

60


4. Weapon Control

Blacklist OP Weapons (Recommended):

Whitelist Mode (Pistols Only):


5. Vehicle Restrictions

Ban Specific Vehicles:

Class-Wide Restrictions:

Key Class IDs: 8 Motorcycles | 18 Emergency | 20 Commercial


6. Seat Control

Standard Cars:

Helicopters:

Seat Index Guide: -1 Driver | 0 Front Passenger | 1 Rear Left | 2 Rear Right


7. Dimension Control

Common Uses:

  • Safe zones

  • Prison dimensions

  • Event areas


Roleplay Server:

Zombie Survival:


๐Ÿšจ Troubleshooting

Issue
Solution

Drive-by not working

1. Check Config.BetterDriveby 2. Verify seat permissions

Weapons still allowed

Ensure blacklist/whitelist are mutually exclusive

Helicopter shooting

Set Config.AffectedVehicleClasses[15] = false


Need Help? Join FiveWorld Discord for config reviews and optimization! ๐Ÿš—๐Ÿ’จ

Last updated