Installation

Dependencies

QBCore Framework qb-ambulancejob qb-menu


How to install

Drag the script in your folder, run the SQL theft_warzone

Make sure to configure everything in your likeness like Warzone Shop , Respawn Locations etc.


Use commands to activate or deactivate Warzone in game

Config.Commands = {
    ActivateWarzone = "startwarzone",       -- Only admins - Activate War Zone via command in game
    DeactivateWarzone = "endwarzone"        -- Only admins - Deactivate War Zone via command in game
}

Warzone Shop

-- Warzone Shop / Price = Kill Points
Config.WarzoneMenuItems = {
    [1] = {Item= "weapon_assaultrifle", Label= "Ak47", Amount= 1, Price= 10},
    [2] = {Item= "weapon_machinepistol", Label= "Tec-9", Amount= 1, Price = 5},
    [3] = {Item= "weapon_vintagepistol", Label= "Vintage Pistol", Amount= 1, Price= 4},
    [4] = {Item= "weapon_knuckle", Label= "Knockout", Amount= 1, Price= 3},
    [5] = {Item= "weapon_machete", Label= "Machete", Amount= 1, Price= 2},
    [6] = {Item= "bandage", Label= "Bandage", Amount= 10, Price= 1},
    [7] = {Item= "pistol_ammo", Label= "Pistol Ammo", Amount= 10, Price= 1},
}

Respawn Locations

Last updated