X_UTILITY_ADVANCED_DriveBy
🚀 Overview
Replace FiveM’s basic drive-by mechanics with tactical, rule-based shooting. Perfect for roleplay servers, anti-cheat environments, or realism-focused communities.
🔧 Key Features
1. Precision Seat Control
Restrict shooting per seat:
Block drivers/pilots from shooting
Allow drive-bys only for specific seats (e.g., front passenger)
Helicopters: Disable shooting for pilots, enable for passengers
Vehicle-specific overrides:
2. Realism Mechanics
"Look Behind" Requirement:
Players must face backward to shoot behind vehicles
Adjust detection angle:
luaCopy
Speed Limits:
3. Weapon Management
Blacklist OP Weapons:
Whitelist Mode:
4. Vehicle Restrictions
Ban Drive-Bys in Specific Vehicles:
Class-Wide Rules:
5. Anti-Abuse Tools
Routing Bucket Restrictions:
Debug Mode: Use
/carseat
to view real-time seat permissions and vehicle data.
⚙️ Configuration Guide
Core Settings
Recommended Presets
Roleplay
LookBehind = -7.0
, MaxSpeed = 50
, EnableWeaponBlacklist = true
Zombie Survival
MinSpeed = 0
, AllowAllVehicleClasses = true
Cops vs Robbers
RestrictDriverShooting = true
, WeaponWhitelist = {"WEAPON_PISTOL"}
🚨 Troubleshooting
Common Issues
"Drive-By Not Working":
Check
Config.BetterDriveBy = true
Verify seat permissions for the vehicle
Use
/carseat
debug command
Conflicts with Other Resources:
Disable sky-to-ground transitions if using multicharacter scripts
luaCopy
📥 Download & Support
Tebex Store: LINK
Last updated