[PAID] vsWeaponDelivery + armory system
Description
The vsWeaponDelivery system includes not only the delivery and requesting of weapons but also an
integrated Amory system.
Above all, the script stands out not only with all the configuration possibilities, but it is also a completely closed system.
It doesn’t need any extra system from the NPC to the delivery.
As already mentioned above, you can set everything in this script in the config listed below.
You can configure the NPC’s as well as the appearance and the location completely.
Furthermore, you can set the time period in which the delivery is possible and also how many weapons can be ordered at once.
Also, you can set all possible coordinates, from the pick-up location to the delivery location.
In the integrated armory system you can also set everything from weapons/auxiliary items and ammunition packages.
You can also set the car which should be used for delivery.
A very commendable feature of the script is that the crime players also have some cool options.
For example, they can bribe the delivery NPC with money they set,
when the crime players do this they receive a mobile phone which gives them information about weapon deliveries.
When they get the information, they can try to raid the delivery.
Go to our Tebex-shop get your version for only 24.99€.
Showcase
Config
Config = {}
Config.Version = true -- select your version (true = old version)
Config.Locale = 'en' -- change language
Config.Key = 38 -- is E
Config.Align = 'top-left'
Config.DrawDistance = 2 -- distance to draw 3D Text
Config.InteractDistance = 2 -- distance to interact
-- size of 3d text (the black-box)
Config.FillWidthText = 15
Config.FillAccessText = 8
Config.FillDeliveryText = 30
Config.FillPickupText = 30
Config.EnableTxAdmin = false -- Recommended: make sure that the weapon status is saved when the server is restarted
Config.LastRestartWarning = 60 -- Recommended: 60 Seconds [IMPORTANT: You must include the number in minutes with the TxAdmin Restart Warnings]
Config.SaveWeaponCooldown = 60 -- How often the weapons are saved (seconds)
Config.DeleteVehicle = 10 -- after how many minutes should the vehicle delete itself?
-- Settings for Weapons
Config.UseWeaponItem = false -- If your weapons are items set this to true
---> added in 2.4.2:
Config.GlobalAccesJobs = {'doj', 'judge'} -- allows the job permanent access to all menus
-- new weapon protection options
Config.EnableWeaponProtectForJobs = false
Config.ProtectWeaponsForJobs = { -- only allow weapons to be used by certain job groups
['WEAPON_PISTOL'] = {'police', 'sheriff'},
['WEAPON_SMG'] = {'police', 'sheriff'}
}
--------------------------------------------------------------------
-- message function to trigger your own notification (client)
function message(txt)
ESX.ShowNotification(txt)
end
Config.Setup = {
police = {
--basic settings
datenbank = "vsweapon", -- IMPORTANT you must add a new datenbank for a new Job
deliveryAnyone = true, -- request delivery everyone or just the boss
deliveryWhichRank = 4, -- grade from which rank you can request a delivery (only needed if deliveryAnyone = false)
-- npc settings
npc = {
[1] = {
Position = vector4(454.1387, -980.0958, 30.6896, 84.6075), -- npc loction
Type = 'csb_cop' -- npc type (https://docs.fivem.net/docs/game-references/ped-models/)
},
--[[ Example (You can add anymore NPC)
[2] = {
Position = vector4(1210.2252, -3053.8467, 5.8654, 62.6562), -- npc loction
Type = 'csb_cop' -- npc type (https://docs.fivem.net/docs/game-references/ped-models/)
},
]]
},
deliveryNPC = {
Position = vector4(-945.1060, -3044.7737, 13.9451, 23.5100), -- npc location
Type = 'csb_reporter', -- npc type (https://docs.fivem.net/docs/game-references/ped-models/)
},
-- other settings
enableMenu = { -- visible menu
enableBuyWeapon = true, -- enable or disable
enableBuyAttachments = true, -- enable or disable
enableBuyTools = true, -- enable or disable
enableBuyAmmo = true -- enable or disable
},
coords = { -- coords settings
startLocation = vector2(-945.1060, -3044.7737), -- position where delivery starts
deliveryLocation = vector3(429.6482, -1023.9456, 27.852), -- position where delivery ends
spawnVehicle = vector4(-961.5908, -3005.6338, 13.9448, 336.0609) -- position where the transporter spawns
},
limits = { -- limit settings
stockLimit = 50, -- maximum stock limit
requestLimit = 10, -- maximum request limit
maxCrimeWeapons = 10 -- Maximum limit of weapons that crimelers can get when successfully robbing the transport
},
time = { -- time settings
fromHour = 0, -- from ... you can start the delivery
toHour = 24 -- until ... you can start the delivery
},
-- weapon menu
buyWeapons = false, -- If that's true then you have to pay for the guns (affects the limited weapons)
weapons = {
{
label = "Heavy Pistole", -- display name
weaponName = "WEAPON_HEAVYPISTOL", -- spawn-name (https://www.vespura.com/fivem/weapons/stats/) // or item name
weaponForCrime = "WEAPON_HEAVYPISTOL", -- This is the weapon that should spawn for the Crimler during the raid
price = 10 -- price for the weapon
},
{
label = "Combat PDW", -- display name
weaponName = "WEAPON_COMBATPDW", -- spawn-name (https://www.vespura.com/fivem/weapons/stats/) // or item name
weaponForCrime = "WEAPON_COMBATPDW", -- This is the weapon that should spawn for the Crimler during the raid
price = 25 -- price for the weapon
}
-- you can add anyone more (dont forget to add in the database)
},
weaponAttachments = { -- ()
{
label = "Attachment lamp (50$)", -- display name
attachmentName = "COMPONENT_AT_PI_FLSH", -- name of the item or weapon
forWeapons = {'WEAPON_PISTOL', 'WEAPON_SMG'}, -- add more
price = 50, -- price for this thing
item = false -- item = true, weapon = false
},
-- you can add anyone more
},
tools = {
{
label = "StunGun (25$)", -- display name
toolName = "WEAPON_STUNGUN", -- name of the item or weapon
amount = 1, -- number how much you get from this item/weapon
price = 25, -- price for this thing
item = false -- item = true, weapon = false
},
-- you can add anyone more
},
ammunition = {
{
label = '100 Pistol Ammo (5$)', -- display name
weaponName = "WEAPON_HEAVYPISTOL", -- name of the weapon that is to receive the ammunition // or item name
amount = 100, -- how much ammo should there be
price = 5 -- price for the ammunition
},
{
label = '100 SMG Ammo (5$)', -- display name
weaponName = "WEAPON_COMBATPDW", -- name of the weapon that is to receive the ammunition // or item name
amount = 100, -- how much ammo should there be
price = 5 -- price for the ammunition
}
-- you can add anyone more
},
-- singel options
payOption = "money", -- money or bank
bribePrice = 500, -- bribe price
vehicleSpawnName = "terbyte", -- vehicle spawn name (from the transporter)
}, -- you can add anyone more jobs and delivery
}
Config.EditVehicle = function(vehicle) -- Here you can independently customize the car for the weapon delivery (e.g. the license plate)
end
Optimization
-
IDLE: 0.01ms
-
RUNNING: 0.03ms
Further Information
TEBEX: vsWeaponDelivery
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | 1500 |
Requirements | ESX |
Support | Yes |