Jota Dev Weapons Vip
Here you can see the documentation to learn how to install our store's VIP weapons system.

How to start the script for its correct operation:
Download and install menuv
https://github.com/ThymonA/menuv
Put in your server.cfg
# JotaDev Weapons Vip
ensure menuv
ensure jc_weapons_vipInsert SQL into your database and configure your framework:
CREATE TABLE IF NOT EXISTS vip_menu_users (
id INT AUTO_INCREMENT PRIMARY KEY,
identifier VARCHAR(50) NOT NULL UNIQUE
);
CREATE TABLE IF NOT EXISTS `vip_weapons` (
`id` INT NOT NULL AUTO_INCREMENT,
`identifier` VARCHAR(64) NOT NULL,
`name` VARCHAR(50) NOT NULL,
`label` VARCHAR(100) DEFAULT NULL,
`silencer` VARCHAR(100) DEFAULT NULL,
`extended_mag` VARCHAR(100) DEFAULT NULL,
`weapon_skin` VARCHAR(100) DEFAULT NULL,
`scope` VARCHAR(100) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `identifier_name_unique` (`identifier`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
CREATE TABLE IF NOT EXISTS weapon_templates (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(50) NOT NULL,
label VARCHAR(100) NOT NULL,
silencer VARCHAR(50) DEFAULT NULL,
extended_mag VARCHAR(50) DEFAULT NULL,
weapon_skin VARCHAR(50) DEFAULT NULL,
scope VARCHAR(50) DEFAULT NULL
);
Config = Config or {}
Config.Framework = "esx" -- ingrese qb o esx depende de tu framework
Config.CommandVipMenu = "menu_vip"
Config.TeclaOpenMenuVIP = "K"
Config.CommandAdminPanel = "weapon_menu"
Config.Debug = false
Config.AdminGroups = {
["admin"] = true,
["mod"] = true,
["superadmin"] = true
}
if Config.Framework == 'qb' then
QBCore = exports['qb-core']:GetCoreObject()
elseif Config.Framework == 'esx' then
ESX = exports["es_extended"]:getSharedObject()
else
print '^1[^6jc_weapons_vip^1] ^2Framework No encontrada, ingrese esx o qb^0'
return
end
Config = Config or {}
Config.Framework = "qb" -- ingrese qb o esx depende de tu framework
Config.CommandVipMenu = "menu_vip"
Config.TeclaOpenMenuVIP = "K"
Config.CommandAdminPanel = "weapon_menu"
Config.Debug = false
Config.AdminGroups = {
["admin"] = true,
["mod"] = true,
["superadmin"] = true
}
if Config.Framework == 'qb' then
QBCore = exports['qb-core']:GetCoreObject()
elseif Config.Framework == 'esx' then
ESX = exports["es_extended"]:getSharedObject()
else
print '^1[^6jc_weapons_vip^1] ^2Framework No encontrada, ingrese esx o qb^0'
return
end
If you use ox_inventory add this to your server.cfg:
setr inventory:weaponmismatch falseLast updated