Cosmic Weapon License & Shooting Range V2
A premium, fully configurable weapon licensing system for FiveM featuring theory & practical tests, automatic framework detection, modern React UI, advanced anti-cheat, private shooting ranges, Discord logging, and much more.
Turn buying a weapon into an immersive roleplay experience. Players must first complete a written firearm safety exam before proving their shooting skills in a dynamic shooting range. Only after passing both stages will they receive their official Weapon License.
Features
Complete Weapon License System
- Written Theory Test
- Practical Shooting Range Test
- Practice Mode
- Optional Physical License Card
- Multi-stage progression
- Fully configurable fees
- Configurable NPC locations
Practical Shooting Range
Challenge players with a fully interactive shooting test.
Features
- Dynamic target spawning
- Every shot counts
- Miss detection
- Target timeout system
- Multiple difficulty levels
- Private routing buckets
- Unlimited practice mode
Difficulty presets include:
- Easy
- Medium
- Hard
- Impossible
Every difficulty can be customized individually.
Theory Test
Teach firearm safety before allowing players to carry weapons.
Features include:
- Randomized questions
- Configurable pass score
- Question timer
- Editable question pool
- Unlimited custom questions
Advanced Anti-Cheat
Unlike basic weapon test scripts, Weapon License V2 protects against abuse.
Weapon dropping detection
Weapon switching detection
Inventory tampering detection
Automatic weapon cleanup
Disconnect cleanup
Server restart cleanup
Zone cleanup
Any cheating attempt immediately cancels the test and can be logged directly to Discord.
Framework Support
Automatic framework detection.
Compatible with:
- ESX Legacy
- QBCore
- QBox
- Standalone
Simply set
Config.Framework = 'auto'
and the script automatically detects your server.
No manual framework switching required.
Interaction
Supports both interaction methods.
- ox_target
- qb-target
- 3D Text
Only one configuration option.
Config.UseTarget = true
Target resources are automatically detected.
Modern React UI
A completely redesigned interface featuring:
- Smooth animations
- GPU accelerated progress bars
- Theme presets
- Custom colors
- Responsive layout
- No accidental text highlighting
Localization
Includes seven built-in languages.
English
German
French
Spanish
Portuguese
Dutch
Turkish
Adding new languages only requires creating another locale file.
Discord Logging
Supports multiple webhook categories.
- License grants
- Theory tests
- Practical tests
- Practice sessions
- Cheat detection
- General logs
Highly Configurable
Almost everything can be customized.
NPC Locations
Blips
Fees
Questions
Difficulty
UI Theme
Practice Mode
License Card
Target System
Weapon System
Discord Logging
Language
Requirements
- FiveM Build 5848+
- OneSync Enabled
- oxmysql
Framework:
- ESX Legacy
- QBCore
- QBox
- Standalone
Optional:
- ox_inventory
- ox_target
- qb-target
Installation
- Drag the resource into your resources folder.
- Ensure oxmysql starts before the script.
- Add
ensure cosmic_weaponlicense
to your server.cfg.
- Configure shared/config.lua.
- Restart your server.
Screenshots
Preview
YouTube
https://www.youtube.com/watch?v=pIrVf2KFVu0
Buy
Buy Here:
Cosmic Crafts Tebex
Social:
- Discord: Cosmic Crafts Store
- Tebex: https://cosmiccrafts.tebex.io
| Code is accessible | No / partially accessible |
| Subscription-based | No |
| Lines (approximately) | 4000+ |
| Requirements | ESX/QBcore/Qbox |
| Support | Yes |




