Biyei Store
  • โ„น๏ธInformation
    • ๐Ÿ‘‹Welcome
    • ๐Ÿ”FiveM Asset Escrow System
  • ๐ŸงพScripts
    • ๐Ÿ”ซVip Weapons
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ†Arenas PvP
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โฌ†๏ธExports
      • ๐ŸŽ’Statesbags
      • โš’๏ธCommon issues
    • ๐Ÿ”ซSkin Changer
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • โœ…SafeZones
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • ๐ŸŽ’Statebags
      • โš’๏ธCommon issues
    • ๐Ÿ“›Red Zones
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • โญPartner Code System
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ“Announcement System
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿช™Coins + Reward System
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐ŸšจDefcon Alert
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐ŸจDepartment
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ“ฆCustom Box Creator
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ‘ทโ€โ™€๏ธMultipleJobs
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
  • ๐ŸŒŒOld Scripts
    • ๐Ÿš˜xVehicleRent
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ‘ทโ€โ™€๏ธxMultipleJobs
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • โš›๏ธxStorm
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • โฌ†๏ธxLift
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿ”ซhPaintball
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
    • ๐Ÿš—hVehicleShop
      • ๐Ÿ’ฟInstallation
      • โš™๏ธConfiguration
      • โš’๏ธCommon issues
Powered by GitBook
On this page
  • โ€ข STEP 1: DEPENDENCIES
  • โ€ข STEP 2: START ORDER
  • โ€ข STEP 3: FOR OX_INVENTORY
  • โ€ข STEP 4: INSTALL SQL
  • โ€ข STEP 5: ADD ADMIN ACE_PERMISSIONS
  1. Scripts
  2. Vip Weapons

Installation

Discover how to install your script.

PreviousVip WeaponsNextConfiguration

Last updated 8 months ago

โ€ข STEP 1: DEPENDENCIES

Make sure you have this resources installed in your server!

  1. ESX or QB-CORE

โ€ข STEP 2: START ORDER

ensure menuv
ensure biyei_utils
ensure biyei_vipweapons

Don't rename resource or you will get error (credits).

โ€ข STEP 3: FOR OX_INVENTORY

If you don't have ox_inventory ignore this step

Add this line in the server.cfg

setr inventory:weaponmismatch false

โ€ข STEP 4: INSTALL SQL

Important install SQL

CREATE TABLE IF NOT EXISTS `biyei_vipweapons_attachments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(50) NOT NULL DEFAULT '0',
  `hash` varchar(50) NOT NULL DEFAULT '0',
  `weapon_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

CREATE TABLE IF NOT EXISTS `biyei_vipweapons_profiles` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '0',
  `identifier` longtext DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `identifier` (`identifier`) USING HASH
) ENGINE=InnoDB AUTO_INCREMENT=127 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

CREATE TABLE IF NOT EXISTS `biyei_vipweapons_profiles_attachments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `owner` longtext DEFAULT NULL,
  `data_weapon_id` int(11) NOT NULL DEFAULT 0,
  `attachment_id` int(11) DEFAULT NULL,
  `active` int(11) DEFAULT 1,
  `enabled` int(11) DEFAULT 1,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=478 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

CREATE TABLE IF NOT EXISTS `biyei_vipweapons_profiles_weapons` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `owner` longtext DEFAULT NULL,
  `weapon_id` int(11) NOT NULL DEFAULT 0,
  `weapon_label` varchar(50) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=235 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

CREATE TABLE IF NOT EXISTS `biyei_vipweapons_weapons` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(50) NOT NULL DEFAULT '0',
  `hash` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=75 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

โ€ข STEP 5: ADD ADMIN ACE_PERMISSIONS

You can modify the ace_permissions in the config file

add_ace group.admin "vipweapons" allow
# Assign the "vipweapons" permission to the group "admin"

# VIP Weapons
add_ace identifier.license:xxxxx vipweapons allow # allow all commands # All permissions


add_ace identifier.license:xxxxx vipweapons.open allow # allow all commands # Open Panel

add_ace identifier.license:xxxxx vipweapons.logs allow # allow all commands # Modify Logs
add_ace identifier.license:xxxxx vipweapons.profiles allow # allow all commands # Add, Remove and Edit Profiles
add_ace identifier.license:xxxxx vipweapons.weapons allow # allow all commands # Add, Remove and Edit Weapons Templates
MenuV
Biyei Utils
๐Ÿงพ
๐Ÿ”ซ
๐Ÿ’ฟ
Page cover image