Installation

Dependencies

Resource

Install

Required

Asset download

  1. Download your resource from FiveM's Keymaster.

  2. Unzip zip folder and place it into your resource folder.

  3. Add ensure l2s-PaintBall to your server start config. Make sure to place anywhere below the framework and dependencies resources.

installation

Use This exports to close your inventory or recoil or stress or radil menu.

1- Go To qb-inventory/Client/main

Client Side Export & Event
Export: IsPlayerInPB()
Example:
if exports['l2s-paintball']:IsPlayerInPB() then
	QBCore.Functions.Notify('You are in paintball match', 'error')
end

2- Server Side Export Export: IsPlayerInPB(source) Example:

1- Go To qb-inventory/Server/main

Export: IsPlayerInPB(source)
Example:
if exports['l2s-paintball']:IsPlayerInPB(source) then
	TriggerClientEvent('QBCore:Notify', source ,'You are in paintball match', 'error' )
end

Finally Customize Your setting in config.lua

Last updated

2023 - 2024 All rights reserved