⤵️Installation
EP 1 - Check dependencies
Make sure you have installed all dependencies .
# STEP 2 - Drag And Drop
Drag and drop the l2s-paintball to your resources folder.
# STEP 3 - SetUp the map
# STEP 4 - Setup paintball weapon (optional)
Just download the weapon and drop it inside your files
It looks like you want to modify ox_inventory
to properly display weapons after adding them. Here’s how you can do it:
Step 1: Open the Target File
Navigate to the following file in your project directory:
📂 ox_inventory/modules/weapon/client.lua
Step 2: Locate the Weapon.Disarm
Function
Open the file in a text editor (such as VS Code, Notepad++, or any code editor of your choice).
Use the search function (
Ctrl + F
on Windows orCmd + F
on Mac) to find the function namedWeapon.Disarm
Step 3: Insert the Code
After locating the function, move to the first line inside the function body (right after its declaration).
Paste the provided code at this position.
if GetResourceState("l2s-paintball") == "started" then
if exports['l2s-paintball']:IsPlayerInPB() then
return
end
end
(If you're unsure where to place it, refer to the provided image for guidance)

# STEP 5 - Start The Script
1 - Start the script on your server.cfg
ensure l2s-paintball
ensure pd-arena
ensure l2s-paintball_weapon
# STEP 6 - Toggle Inventory
Use events in cl_editable to disable player inventory or radial menu after starting game

Last updated