Smoke Generator for FiveM
A guide to install Smoke Generator for FiveM
๐ Table of Contents
- ๐ฏ Overview
- ๐ Purchase Information
- ๐บ Video Showcase
- ๐บ Installation Tutorial
- โ ๏ธ Important Pre-Installation Notes
- ๐ง System Requirements & Compatibility
- ๐ฆ Installation Process
- โ๏ธ Configuration Setup
- ๐ฎ How It Works
- ๐ Integration & Compatibility
- ๐ ๏ธ Troubleshooting
- ๐ก Best Practices
- ๐ Support
๐ฏ Overview
Spawn smoke in your hand for any purpose you can think of! Set the size and colour to your desire. This handheld smoke generator provides realistic smoke effects with full customization options.
Key Features
- โ Handheld Smoke Generation - Spawn smoke directly in your hand
- โ Configurable Commands - Customize commands to your liking
- โ Color & Size Control - Decide the colour and size of smoke
- โ Optional Item Usage - Framework integration for item-based usage
- โ Animated Effects - Realistic smoke animations
- โ Synchronized - Smoke effects synchronized across all players
- โ Framework Compatibility - Works with QBCore, ESX, and Standalone
- โ Escrow Protection - Secure resource protection
๐ Purchase Information
Get Smoke Generator:
Purchase on Nights Software Store
๐บ Video Showcase
Watch the video showcase:
๐บ Installation Tutorial
Watch the installation tutorial:
โ ๏ธ Important Pre-Installation Notes
Support Policy: Follow this guide step by step. If youโre stuck, ask for support in our Discord and provide the specific step name. Do not skip steps.
Discord API Requirement: You require the Discord API script to utilize permissions. Visit Discord API Documentation for setup instructions.
๐ง System Requirements & Compatibility
Framework Compatibility
- โ Standalone: Works independently without any framework
- โ ESX: Compatible with ESX framework
- โ QBCore: Compatible with QBCore framework
OneSync Compatibility
- โ OneSync Legacy: Fully tested and compatible
- โ OneSync Infinity: Fully tested and compatible
Dependencies
- โ Discord API - Required for permissions (optional item usage)
- โ Framework Integration - Optional item usage for frameworks
Note: Smoke Generator is designed to work with any FiveM server configuration and provides realistic smoke effects.
๐ฆ Installation Process
Step 1: Download Resource
Download this resource via CFX Portal Assets after purchasing.
Step 2: Install Resource
- Extract the ZIP package to your local machine
- Transfer files to your serverโs resources folder
- Ensure the folder is named
night_handheld_smoke_gen
(do not rename)
Step 3: Server Configuration
Add the resource to your server.cfg
:
ensure night_handheld_smoke_gen
Step 4: Configure Settings
- Open
/config/config.lua
in your preferred editor - Configure all settings to your liking
- Test the resource functionality
โ๏ธ Configuration Setup
Required Tools
Visual Studio Code: We recommend downloading VS Code for editing Lua files.
Configuration Files
File | Purpose |
---|---|
night_handheld_smoke_gen/config/config.lua | Main configuration settings |
night_handheld_smoke_gen/client/c_functions.lua | Client-side functions |
night_handheld_smoke_gen/server/s_functions.lua | Server-side functions |
Configuration Process
- Open VS Code and navigate to the config files
- Read thoroughly - each line has explanatory comments
- Configure settings - customize commands, colors, sizes, and permissions
- Test frequently - use F8 console for error checking
Configuration Options: Configure commands, smoke colors, sizes, and optional item usage for frameworks.
๐ฎ How It Works
Smoke Generation
- Handheld Smoke - Spawn smoke directly in your hand
- Customizable Effects - Set size and color to your desire
- Realistic Animations - Authentic smoke generation animations
- Synchronized Effects - Smoke visible to all players on server
Configuration Options
- Command Configuration - Customize commands for smoke generation
- Color Control - Choose from various smoke colors
- Size Control - Adjust smoke size and density
- Framework Integration - Optional item usage for ESX/QBCore
Permission System
- Discord API Integration - Utilize Discord roles for permissions
- Optional Item Usage - Framework-based item requirements
- Access Control - Configure who can use smoke generators
User Experience
- Easy Activation - Simple commands or item usage
- Visual Feedback - Clear smoke generation effects
- Flexible Usage - Use for any purpose you can think of
- Seamless Integration - Works naturally with FiveM gameplay
๐ Integration & Compatibility
Framework Support
- Standalone - Works independently without framework dependencies
- ESX - Compatible with ESX framework integration
- QBCore - Compatible with QBCore framework integration
Discord API Integration
- Permission System - Utilize Discord roles for access control
- Role-Based Access - Configure permissions through Discord API
- Easy Setup - Simple integration with existing Discord setup
Discord API Setup: Visit Discord API Documentation for setup instructions.
Server Integration
- Universal Compatibility - Works with any FiveM server setup
- Performance Optimized - Efficient smoke effect management
- Easy Integration - Simple setup and configuration
๐ ๏ธ Troubleshooting
Common Issues
Resource Not Starting
- Ensure the resource is properly added to server.cfg
- Check that the resource name is
night_handheld_smoke_gen
- Verify the resource started without errors in console
Smoke Not Generating
- Check F8 console for any error messages
- Verify configuration settings in config.lua
- Test with default settings first
Permission Issues
- Ensure Discord API is properly configured
- Check Discord role permissions in config.lua
- Verify Discord API is started before smoke generator
Debugging Tips
- Check F8 Console - Look for any error messages
- Test Commands - Verify smoke generation commands work
- Verify Configuration - Check all config settings are correct
- Check Discord API - Ensure Discord API is properly configured
๐ก Best Practices
Smoke Configuration
- Color Selection - Choose appropriate smoke colors for your server
- Size Management - Configure reasonable smoke sizes
- Command Setup - Set up intuitive commands for users
- Permission Management - Configure appropriate access controls
Performance Optimization
- Smoke Limits - Monitor smoke effect count for performance
- Synchronization - Ensure smoke effects are properly synchronized
- Framework Integration - Optimize item usage for frameworks
- Regular Testing - Test smoke functionality regularly
User Experience
- Clear Instructions - Provide users with smoke generator guidelines
- Intuitive Commands - Make commands easy to remember and use
- Visual Feedback - Ensure smoke effects are clearly visible
- Help Documentation - Create server-specific usage guides
๐ 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: