Smokescreen
A guide to install Smokescreen for FiveM
Overview
Section titled “Overview”This resource allows you to deploy a smokescreen in FiveM. Freely configure all kinds of options in regards to the smokescreen. Whether you want players to deploy a smokescreen on foot by using an item or just in a vehicle. It’s all configurable. You can even configure specific vehicles which can deploy a smokescreen. In-game players have the option to adjust the size of their smoke screen clusters and the colour of their smokescreen.
The smokescreen resource allows players to place 1 smokescreen per 800 GTA meters radius.
Key Features
Section titled “Key Features”- Deployable Smokescreen - Deploy smokescreens in FiveM
- Configurable Deployment - On foot or in vehicles
- Vehicle-Specific Configuration - Configure specific vehicles for smokescreen deployment
- Adjustable Size & Color - Players can adjust cluster size and color in-game
- Configurable Default Sizes - Set default smokescreen sizes
- Size Limits - Configure size limitations
- Cluster Configuration - Configure cluster amounts and distance between clusters
- Duration Control - Configure smokescreen duration
- Inventory Item Usage - Framework integration for item-based usage
- Command Usage - Configure custom commands
- Framework Compatibility - ESX/QB/NS Discord API/Ace Perms/Standalone compatible
- OneSync Compatible - Works with OneSync legacy/infinity
- Language Support - Multi-language configuration
- Escrow Protection - Secure resource protection
Installation Tutorial
Section titled “Installation Tutorial”Watch the installation tutorial:
Important Pre-Installation Notes
Section titled “Important Pre-Installation Notes”System Requirements & Compatibility
Section titled “System Requirements & Compatibility”Framework Compatibility
Section titled “Framework Compatibility”- Standalone: Works independently without any framework
- ESX: Compatible with ESX framework
- QBCore: Compatible with QBCore framework
- Discord API: Compatible with NS Discord API
- Ace Permissions: Compatible with Ace permission system
OneSync Compatibility
Section titled “OneSync Compatibility”- OneSync Legacy: Fully tested and compatible
- OneSync Infinity: Fully tested and compatible
Installation Process
Section titled “Installation Process”Step 1: Download Resource
Section titled “Step 1: Download Resource”Download this resource via CFX Portal Assets after purchasing.
Step 2: Install Resource
Section titled “Step 2: Install Resource”- Extract the ZIP package to your local machine
- Transfer files using binary FTP mode to your server’s resources folder
- Ensure the folder is named
night_smokescreen(do not rename)
Step 3: Server Configuration
Section titled “Step 3: Server Configuration”Add the resource to your server.cfg:
ensure night_smokescreenStep 4: Configure Settings
Section titled “Step 4: Configure Settings”- Open
/config/config.luain your preferred editor - Configure all settings to your liking
- Test the resource functionality
Configuration Setup
Section titled “Configuration Setup”Required Tools
Section titled “Required Tools”Configuration Files
Section titled “Configuration Files”| File | Purpose |
|---|---|
night_smokescreen/config/config.lua |
Main configuration settings |
night_smokescreen/client/c_functions.lua |
Client-side functions |
night_smokescreen/server/s_functions.lua |
Server-side functions |
Configuration Process
Section titled “Configuration Process”- Open VS Code and navigate to the config files
- Read thoroughly - each line has explanatory comments
- Configure settings - customize deployment, sizes, clusters, and permissions
- Test frequently - use F8 console for error checking
How It Works
Section titled “How It Works”Smokescreen Deployment
Section titled “Smokescreen Deployment”- On Foot Deployment - Deploy smokescreens while walking
- Vehicle Deployment - Deploy smokescreens from vehicles
- Vehicle-Specific Configuration - Configure specific vehicles for deployment
- Placement Limits - 1 smokescreen per 800 GTA meters radius
Customization Options
Section titled “Customization Options”- Size Configuration - Configure default sizes and size limits
- Cluster Management - Configure cluster amounts and distance between clusters
- Duration Control - Set how long smokescreens last
- Color & Size Adjustment - Players can adjust in-game
Framework Integration
Section titled “Framework Integration”- Inventory Item Usage - Framework integration for item-based deployment
- Command Configuration - Customize commands for deployment
- Permission Systems - Discord API and Ace permissions support
- Multi-Language Support - International server configuration
User Experience
Section titled “User Experience”- Flexible Deployment - Deploy on foot or in vehicles
- Real-Time Adjustment - Adjust size and color in-game
- Easy Activation - Simple commands or item usage
- Visual Feedback - Clear smokescreen effects
Integration & Compatibility
Section titled “Integration & Compatibility”Framework Support
Section titled “Framework Support”- Standalone - Works independently without framework dependencies
- ESX - Compatible with ESX framework integration
- QBCore - Compatible with QBCore framework integration
- Discord API - Compatible with NS Discord API
- Ace Permissions - Compatible with Ace permission system
Deployment Options
Section titled “Deployment Options”- On Foot Deployment - Deploy smokescreens while walking
- Vehicle Deployment - Deploy from any vehicle
- Vehicle-Specific - Configure specific vehicles for deployment
- Item-Based Usage - Framework inventory integration
Server Integration
Section titled “Server Integration”- Universal Compatibility - Works with any FiveM server setup
- Performance Optimized - Efficient smokescreen management
- Easy Integration - Simple setup and configuration
Troubleshooting
Section titled “Troubleshooting”Common Issues
Section titled “Common Issues”Debugging Tips
Section titled “Debugging Tips”- Check F8 Console - Look for any error messages
- Test Deployment Methods - Try both on foot and vehicle deployment
- Verify Configuration - Check all config settings are correct
- Check Framework Integration - Ensure proper item/command setup
Best Practices
Section titled “Best Practices”Smokescreen Configuration
Section titled “Smokescreen Configuration”- Size Management - Configure appropriate default sizes and limits
- Cluster Settings - Set reasonable cluster amounts and distances
- Duration Control - Configure appropriate smokescreen duration
- Placement Limits - Respect the 800 GTA meters radius limit
Performance Optimization
Section titled “Performance Optimization”- Placement Limits - Monitor smokescreen placement for performance
- Cluster Optimization - Configure clusters for optimal performance
- Duration Management - Set appropriate durations to prevent clutter
- Regular Cleanup - Monitor and manage smokescreen placement
User Experience
Section titled “User Experience”- Clear Instructions - Provide users with deployment guidelines
- Intuitive Controls - Make deployment commands easy to use
- Visual Feedback - Ensure smokescreen effects are clearly visible
- Help Documentation - Create server-specific usage guides
Support
Section titled “Support”Read through the instructions again if you have not managed to install the resource. Can’t get it to work still? Create a ticket through our dedicated support system in Discord: