WELCOME! To my first ever script!
Simple & basic airsoft script made for QBCore
- 🧍 Peds for Entry/Exit & Debug
- 🎯 qb-target/ox_target & qb-menu/ox_lib support
- 🔔 qb-core/ox_lib notification system
- 🚩 Polyzone/circlezone
- ♻️ Configurable
- 🔫 Priced Loadouts (config, random or your own)
- 🪄 Random spawnlocations
- 💬 Locales
Loadouts:
Configurable Entry/Exit ped:
Arena status notifs:
Debug prints:
Debug peds (to show spawn locations):
VIDEO PREVIEW COMING SOON
I personally use iakkoise's Softair Map because it's lightweight and only uses GTA props
I personally use Localspetsnaz's Airsoft Guns Pack because they don't kill/hurt the player, they stun them.
Click here to find out!
1. Insert your custom guns in your server's resources and make they start in yourserver.cfg
2. Inqb-core/shared/items.lua
add this:weapon_airsoftglock20 = { name = 'weapon_airsoftglock20', label = 'Airsoft Glock 20', weight = 1000, type = 'weapon', ammotype = 'AMMO_PISTOL', image = 'weapon_pistol.png', unique = true, useable = false, description = 'Airsoft Glock 20' },(do this with every custom gun and change some values)
3. Inqb-core/shared/weapons.lua
add this:[`weapon_airsoftglock20`] = { name = 'weapon_airsoftglock20', label = 'Airsoft Glock 20', weapontype = 'Pistol', ammotype = 'AMMO_PISTOL', damagereason = 'Hit by a BB' },(do this with every custom gun and change some values)
4. Inqb-weapons/config.lua
add this inConfig.DurabiltyMultiplier
weapon_airsoftglock20 = 0.05,(do this with every custom gun and change some values)
5. Inqb-weapons/client/weapdraw.lua
add this'WEAPON_AIRSOFTGLOCK20',(do this with every custom gun and change some values)
But if you decide not to use these guns, then the script is made so if the player is dead, they will also get teleported out of the arena.
If using ps-dispatch, remember to add a NoDispatchZones
location like:
[3] = {label = "Airsoft Arena", coords = vector3(2025.99, 2784.98, 76.39), length = 14.0, width = 5.0, heading = 270, minZ = 28.62, maxZ = 32.62},
This way, police won't be notified of any shots in the arena
- Adding a "who killed who" system
- Adding a leaderboard
- More gamemodes