An advanced airdrop system for QBCore with LB-Phone integration and government emergency alerts.
- Multiple Phone Types: Golden, Red, and Green satellite phones with different loot tables
- LB-Phone Integration: Government emergency alerts sent to all players when airdrop is called
- Dynamic Drop Zones: Multiple predefined locations with polyzone integration
- Police Requirement: Configurable minimum police count required
- Cooldown System: Prevents spam with configurable cooldown timer
- Realistic Animations: Plane flyover with parachute drop animation
- QB-Target Integration: Interactive crate opening with progress bars
- Comprehensive Loot System: Different loot tables for each phone type
- qb-core
- qb-target
- qb-polyzone
- lb-phone
- Place the
sd-airdropfolder in yourresources/[qb]/[crime]/directory - Add
ensure sd-airdropto your server.cfg - Add the phone items to your
qb-core/shared/items.lua:
['goldenphone'] = {['name'] = 'goldenphone', ['label'] = 'Golden Satellite Phone', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'goldenphone.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A golden satellite phone for calling high-value airdrops'},
['redphone'] = {['name'] = 'redphone', ['label'] = 'Red Satellite Phone', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'redphone.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A red satellite phone for calling weapon airdrops'},
['greenphone'] = {['name'] = 'greenphone', ['label'] = 'Green Satellite Phone', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'greenphone.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A green satellite phone for calling drug airdrops'},- Add the phone images to your
qb-inventory/html/images/directory - Restart your server
Edit config.lua to customize:
- Core Settings: QB-Core resource name, debug mode
- Police Settings: Minimum cops required, police job names
- Cooldown: Time between airdrops
- Drop Zones: Radius and locations
- Aircraft: Plane model, speed, height
- Loot Tables: Items and chances for each phone type
- High-value items (gold bars, diamonds, luxury items)
- Basic weapons
- Premium rewards
- Military-grade weapons
- Assault rifles and ammunition
- Body armor
- Drug-related items
- Various narcotics
- Street-level contraband
When an airdrop is called, all players with equipped phones receive a government emergency alert:
"GOVERNMENT ALERT: Unidentified package drop detected in your vicinity. Citizens are advised to maintain safe distance and report any suspicious activity to authorities immediately. Proceed with extreme caution."
- Obtain a satellite phone (Golden, Red, or Green)
- Use the phone item from your inventory
- Wait for the plane to arrive and drop the crate
- Navigate to the drop zone (marked on map)
- Open the crate to receive loot
No commands required - everything is item-based.
sd-airdrop:client:CreateDrop- Initiates airdrop sequencesd-airdrop:crate:openCrate- Opens supply cratesd-airdrop:crate:clearcrate- Cleans up crate and zones
sd-airdrop:server:ItemHandler- Handles item addition/removalsd-airdrop:server:startCooldown- Starts airdrop cooldownsd-airdrop:crate:spawnCrate- Spawns supply cratesd-airdrop:crate:deleteCrate- Removes crate from world
-
"Not enough police online"
- Increase police count or lower
Config.MinCops - Check police job names in config
- Increase police count or lower
-
"Airdrop is on cooldown"
- Wait for cooldown to expire
- Adjust
Config.Cooldownin config
-
Phone not working
- Ensure item is added to items.lua
- Check server console for errors
- Verify dependencies are running
-
LB-Phone alerts not working
- Ensure lb-phone is running
- Check player has phone equipped
- Verify phone number exists
Enable Config.Debug = true to visualize drop zones and see additional console output.
For support and updates, visit our GitHub repository or Discord server.
- Added LB-Phone integration with government alerts
- Improved error handling and validation
- Enhanced crate spawning system
- Better network synchronization
- Updated documentation
- Complete rewrite for better performance
- Added multiple phone types
- Implemented polyzone drop zones
- Added realistic plane and parachute animations
- Improved loot system
- Initial release
- Basic airdrop functionality
- Single phone type
- Simple loot system