Scripts/resources/[qb]/[qb_crimes]/qb-gunheist
2024-12-30 11:15:34 +01:00
..
client Part 8 2024-12-29 21:03:28 +01:00
images Part 8 2024-12-29 21:03:28 +01:00
server Part 8 2024-12-29 21:03:28 +01:00
config.lua Part 8 2024-12-29 21:03:28 +01:00
fxmanifest.lua File-parity 2024-12-30 11:15:34 +01:00
README.md Part 8 2024-12-29 21:03:28 +01:00

Airdrop

This is a fairly simple script, you use one out of three phone items and a plane will fly over your position and drop a crate with whatever loot you've set in the Config. This is originally cad-gundrop (linked below), but has been edited, for a server I'm working on, to fully sync the crate amongst all players, include a Global Cooldown (so airdrops can't be spammed) and Polyzone creation around the drop area, to notify people of the Redzone when entering.

If you want to support me and what I do, you can check me out @ https://discord.gg/samueldev / https://fivem.samueldev.shop

Dependencies:

  • qb-core (latest)
  • qb-target
  • PolyZone

How to Install

  • Add the images in the folder to your inventory
  • Add the below items to qb-core/shared/items.lua
["goldenphone"]  = {["name"] = "goldenphone", ["label"] = "Golden Satellite Phone",	 ["weight"] = 200, 		["type"] = "item", 		["image"] = "goldenphone.png", 	["unique"] = false, 	["useable"] = true, 	["shouldClose"] = false,   ["combinable"] = nil,   ["description"] = "A communication device used to contact russian mafia."},

["redphone"]     = {["name"] = "redphone",    ["label"] = "Red Satellite Phone",	 ["weight"] = 200, 		["type"] = "item", 		["image"] = "redphone.png", 	["unique"] = false, 	["useable"] = true, 	["shouldClose"] = false,   ["combinable"] = nil,   ["description"] = "A communication device used to contact russian mafia."},

["greenphone"] 	 = {["name"] = "greenphone",  ["label"] = "Green Satellite Phone",	 ["weight"] = 200, 		["type"] = "item", 		["image"] = "greenphone.png", 	["unique"] = false, 	["useable"] = true, 	["shouldClose"] = false,   ["combinable"] = nil,   ["description"] = "A communication device used to contact russian mafia."},

Credits

(Original Author) cadburry6969 - https://github.com/cadburry6969/cad-gundrop