Page cover image

Installation guide

Welcome to the Brutal Paintball installation guide, here you can learn how to completely install our asset.


Asset download

  • Put the script folder to your server.

  • Start the script in the server.cfg. (ensure brutal_paintball)

  • Restart your server! (And you get permission to use the script)


Download the Paintball MLOs

  • Put the resource folder to your server.

  • Start the script in the server.cfg. (ensure brutal_paintball_maps)

  • Restart your server! (And you get permission to use the resource)

Upload the SQL

In your localhost or heidisql database you must execute this sql, with this we will automatically eliminate the existing tables and columns and replace them with the current ones from Quasar Inventory. If you want to edit something in these events, you can do so but at your own risk, do not forget to fully read the notices above this message.

ALTER TABLE `users` ADD COLUMN `paintball_inventory` longtext NULL DEFAULT NULL;

Asset positioning

-- First we will start the cores, never below
ensure es_extended or qb-core

-- The Notify / TextUI / Progressbar / Inventory / Paintball have to be above our asset
ensure [notify]
ensure [textui]
ensure [inventory]

-- Start the Brutal Paintball at the end
ensure brutal_paintball

Setting up the Steam API key

If you want to use the steam profile pictures in the paintball menu then you will have to set it up in our assets. You can do it by changing a value to your Steam API key in the sv-utils.lua file.

sv-utils.lua

Create a new WEAPON on your server.

if you do not want to create a new weapon on your server then you can also edit the type of weapon on each maps in the config.lua if you search for it: "WEAPON_PAINTBALL". -- Download the weapon model resource. --

-- Weapon icon --

-- Create a custom WEAPON_PAINTBALL weapon on your server as your inventory system needs.--

If your inventory system is not here then just create the custom weapon as your server needes to create a new weapon on it.

Weapon for ox_inventory

ox_inventory/data/weapons.lua:

['WEAPON_PAINTBALL'] = {
			label = 'Paintball Weapon',
			weight = 1500,
			durability = 0.075,
			ammoname = 'ammo-9',
		},
Weapon for qb-inventory

qb-core\shared\items.lua

weapon_paintball = { name = 'weapon_paintball', label = 'Paintball', weight = 1000, type = 'weapon', ammotype = 'AMMO_PISTOL', image = 'weapon_paintball.png', unique = true, useable = false, description = '' },

If you use the Brutal Ambulance Job

Open the brutal_ambulance/config.lua file and set the BrutalPaintball to true in the file:

Setting the loaded event

In the client-core.lua file go to the LoadedEvent variable and if you are using a different event then paste there your event which is used on your server.

client-core.lua

Checking the Config file

Please make sure that you go through the whole file during the installation and check everything. It is one of the most important things as if you miss this step the script might won't work propetly.

Most important steps

The most important things always at the top of the config so pay the most attencion to these elements.

Setting the Core

Set your server's core wether it's using es_extended or qb-core, other cores aren't supported .

Setting the Notify

If you are using the Brutal Notify then it is good news, you don't have to do anything. If you aren't then set the BrutalNotify value to false in the config and set up your own notify in the cl-utils.lua


Editing framework


If you got any error

If you followed the installational guide and the script still don't work or you get any errors the please check the common errors, here in the docs and in our discord server, for more informations.

Last updated

Was this helpful?