๐ฟSpectro_grua
๐ Spectro Vehicle Management System - Complete Documentation
Advanced vehicle cleanup and management system for FiveM with automated scheduling, protected zones, and modern UI
๐ Table of Contents
๐ Key Features
๐ Core Functionality
Mass Vehicle Cleanup
Remove all abandoned vehicles from server
/borrarcoches
Quick Cleanup
Remove specific or nearby vehicles
/bc or /bc [radius]
Automated Schedule
Clean vehicles at preset times
Automatic
Protected Zones
Safe areas where vehicles won't be removed
Config-based
Visual Notifications
Modern UI with countdown timers
Automatic
Sound Alerts
Audio warnings for players
Automatic
๐ก๏ธ Admin Features
ESX Integration
Permission-based access
Admin groups
Custom Admin List
Manual identifier-based access
Config file
Console Commands
Execute from server console
Console
Logging System
Track all cleanup actions
Server logs
๐จ Visual System
Countdown UI
Interactive countdown timer
โ Colors, position
Progress Bar
Visual cleanup progress
โ Colors
Sound Effects
Alert sounds (1 & 2 minutes)
โ Custom sounds
Zone Markers
Protected area indicators
โ Colors, opacity
๐ Requirements and Dependencies
๐จ Mandatory Dependencies
mysql-async
Database integration
โ Required
ESX Framework
Player permissions (optional)
โช Optional
๐ Server Requirements
FiveM Version
Latest stable
Script Name
Must be Spectro_grua
Lua Version
5.4 enabled
File Structure
All files intact
๐ Framework Compatibility
ESX
โ Full support
Automatic permission detection
QBCore
โ ๏ธ Partial
May require modifications
vRP
โ ๏ธ Partial
May require modifications
Standalone
โ Full support
Use admin identifier list
๐ง Installation Guide
Step 1: Download and Setup
Download the script files
IMPORTANT: Rename folder to exactly
Spectro_gruaPlace in your server's
resourcesfolder
Step 2: Database Setup
Step 3: Server Configuration
Step 4: Initial Configuration
Open
config.luaConfigure basic settings:
Step 5: Admin Setup
Choose one of two methods:
Option 1: ESX Integration
Option 2: Manual Admin List
โ๏ธ General Configuration
๐ฏ Core Settings
๐ Language Settings
English
en
โ Full support
Spanish
es
โ Full support
Add custom languages in locales.lua:
๐จ Visual Customization
๐ฎโโ๏ธ Admin Commands
๐จ Primary Cleanup Command
Functionality:
Warns all players
Starts countdown timer
Removes all abandoned vehicles
Respects protected zones
โก Quick Cleanup Command
Detection Priority:
Vehicle player is currently in
Vehicle directly in front of player
Vehicle below player
Nearest vehicle within range
๐ป Console Access
All commands work from server console:
โฐ Automatic Scheduling
๐
Scheduled Cleanups
Configure automatic cleanup times:
โฑ๏ธ Countdown Timer
๐ก๏ธ Protected Zones
๐ Zone Configuration
๐จ Blip Colors
1
Red
#FF0000
2
Green
#00FF00
3
Blue
#0000FF
5
Yellow
#FFFF00
25
Pink
#FF00FF
47
Orange
#FFA500
โ๏ธ Zone Behavior
๐ข Notification System
๐ Notification Types
Initial
ESX + UI
Until next stage
None
2 minutes
ESX + UI
60 seconds
Custom
1 minute
ESX + UI
30 seconds
Custom
30 seconds
Countdown
30 seconds
Beeps
๐ฑ ESX Notifications
๐ต Custom Sounds
Place custom sound files in /sounds/ folder:
oneminute.mp3- Plays at 1-minute marktwominutes.mp3- Plays at 2-minute mark
๐ฅ๏ธ Visual UI
Modern countdown interface with:
Dynamic timer display
Progress bar animation
Color customization
Shake effects for urgency
Responsive design
๐จ UI Customization
๐๏ธ Style Configuration
๐ฏ Position Adjustments
HD (720p)
30vh
Above minimap
Full HD (1080p)
27vh
Centered
4K (2160p)
25vh
Proportional
Ultrawide
24vh
Adjusted for aspect
๐ Color Schemes
โ Frequently Asked Questions
๐ง General Questions
โ How do I change the cleanup timer?
โ Can I disable automatic cleanup?
โ How do I add more admin identifiers?
๐ฎ Gameplay Questions
โ Will my vehicle be deleted if I'm inside?
No, the script never deletes vehicles with players inside.
โ What about player-owned vehicles?
The script only targets abandoned vehicles. Player ownership detection depends on your framework.
โ Can I protect specific areas?
Yes, configure protected zones in Config.SafeZones:
๐จ Technical Questions
โ Why must the folder be named 'Spectro_grua'?
The script includes integrity checks to prevent unauthorized modifications:
โ How do I customize the UI position?
Modify style.css:
โ Can I use custom sounds?
Yes, replace files in /sounds/ folder:
oneminute.mp3twominutes.mp3
Same filenames, any audio format supported by browsers.
๐ง Troubleshooting
๐ซ Common Issues
Command not working
Check permissions:
Verify command name:
Console errors:
UI not showing
Check resource name:
Verify file paths:
Browser compatibility:
Sounds not playing
Check file formats:
Volume settings:
Browser autoplay policies:
๐ Debug Mode
Enable detailed logging:
๐ Advanced Settings
๐ ๏ธ Advanced Configuration
๐ก Custom Events
๐ API Integration
๐จ Theme Presets
๐ Support Information
๐ Required Support Data
When requesting support, provide:
Server Information:
FiveM version
Script version
Framework (ESX/standalone)
Resource name confirmation
Error Details:
Exact error messages
Console logs (client & server)
Steps to reproduce
Configuration:
Config.lua settings
Admin list setup
Any custom modifications
๐ Self-Diagnosis Checklist
๐ Final Notes
๐ Update Process
Backup current configuration
Replace script files (keep config.lua)
Check version notes for changes
Test in development server first
Apply to production server
๐ License Information
This script is copyrighted material:
Licensed for single-server use
Modification of core files prohibited
Resource name change prohibited
Redistribution prohibited
๐ก๏ธ Security Notice
The script includes integrity checks:
Resource name validation
Author verification
File structure validation
These protect against unauthorized modifications and ensure proper functionality.
Documentation for Spectro Vehicle Management System v1.2.0 Last updated: 2025
Last updated
