[PAID] Cosmic Weapon License and Shooting Range System V2 (ESX/QBCore/Qbox)

:bullseye: 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.


:sparkles: Features

:water_pistol: 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

:bullseye: 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.


:memo: 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

:shield: Advanced Anti-Cheat

Unlike basic weapon test scripts, Weapon License V2 protects against abuse.

:check_mark: Weapon dropping detection

:check_mark: Weapon switching detection

:check_mark: Inventory tampering detection

:check_mark: Automatic weapon cleanup

:check_mark: Disconnect cleanup

:check_mark: Server restart cleanup

:check_mark: Zone cleanup

Any cheating attempt immediately cancels the test and can be logged directly to Discord.


:globe_showing_europe_africa: 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.


:bullseye: Interaction

Supports both interaction methods.

  • ox_target
  • qb-target
  • 3D Text

Only one configuration option.

Config.UseTarget = true

Target resources are automatically detected.


:artist_palette: Modern React UI

A completely redesigned interface featuring:

  • Smooth animations
  • GPU accelerated progress bars
  • Theme presets
  • Custom colors
  • Responsive layout
  • No accidental text highlighting

:globe_with_meridians: Localization

Includes seven built-in languages.

  • :united_states: English
  • :germany: German
  • :france: French
  • :spain: Spanish
  • :portugal: Portuguese
  • :netherlands: Dutch
  • :türkiye: Turkish

Adding new languages only requires creating another locale file.


:clipboard: Discord Logging

Supports multiple webhook categories.

  • License grants
  • Theory tests
  • Practical tests
  • Practice sessions
  • Cheat detection
  • General logs

:gear: Highly Configurable

Almost everything can be customized.

:check_mark: NPC Locations
:check_mark: Blips
:check_mark: Fees
:check_mark: Questions
:check_mark: Difficulty
:check_mark: UI Theme
:check_mark: Practice Mode
:check_mark: License Card
:check_mark: Target System
:check_mark: Weapon System
:check_mark: Discord Logging
:check_mark: Language


:package: Requirements

  • FiveM Build 5848+
  • OneSync Enabled
  • oxmysql

Framework:

  • ESX Legacy
  • QBCore
  • QBox
  • Standalone

Optional:

  • ox_inventory
  • ox_target
  • qb-target

:inbox_tray: Installation

  1. Drag the resource into your resources folder.
  2. Ensure oxmysql starts before the script.
  3. Add
ensure cosmic_weaponlicense

to your server.cfg.

  1. Configure shared/config.lua.
  2. Restart your server.

:camera_with_flash: Screenshots

Images

:movie_camera: Preview

YouTube

:backhand_index_pointing_right: https://www.youtube.com/watch?v=pIrVf2KFVu0


:briefcase: Buy

Buy Here: :backhand_index_pointing_right: Cosmic Crafts Tebex

:link: Social:

Code is accessible No / partially accessible
Subscription-based No
Lines (approximately) 4000+
Requirements ESX/QBcore/Qbox
Support Yes
1 Like