FWB STUDIO
Visit Store
  • Fwb Studios
    • ๐Ÿ‘‹Welcome to FWB STUDIOS
      • FWB STUDIOS
    • โ“Common Questions
    • โฌ†๏ธHow to Get Updates On Scripts
  • FiveM Escrow Errors
    • ๐Ÿ› ๏ธERRORS
      • โš ๏ธIs my error caused by FiveM escrow system?
      • โ“Failed to verify protected resource
      • โ“What steps should be taken if there are still errors?
  • How To Do This
    • ๐Ÿ› ๏ธInstall FwB Scripts
      • 5๏ธESX/QB Installation
  • FS SCRIPTS
    • ๐ŸŒ‰Bridge
      • ๐Ÿ“‹Installation
      • Logs Setup
      • Integration
        • ๐Ÿ“–Client_Override
        • ๐Ÿ“–Server_Override
      • โ—Common Issues
    • ๐Ÿ’ณFraud System
      • ๐Ÿ“–[ESX] Config Files
      • ๐Ÿ“–[QBCore] Config Files
      • ๐Ÿ“‹Installation
      • ๐Ÿ“–Integrations
      • โ—Common Issues
    • ๐Ÿ‘ Skitz
      • ๐Ÿ“–[ESX/QB] Config Files
      • ๐Ÿ“–Unlocked FIle
      • ๐Ÿ“‹Installation
      • โš’๏ธFunctions/Exports
      • โ—Common Issues
    • ๐ŸฆฑWeave Wear
      • ๐Ÿ“–[ESX/QB] Config Files
      • ๐Ÿ“–Unlocked FIle
      • ๐Ÿ“‹Installation
      • โš’๏ธFunctions/Exports
      • โ—Common Issues
    • โŒ›Safezone Creator
      • ๐Ÿ“–[ESX/QB] Config Files
      • ๐Ÿ“–Unlocked FIle
      • ๐Ÿ“‹Installation
      • โ—Common Issues
    • ๐ŸŒUseable Foods
      • ๐Ÿ“‹Installation
      • โ—Common Issues
    • ๐Ÿ•Pizza Shop
      • ๐Ÿ“–[ESX/QB] Config
      • ๐Ÿ“‹Installation
      • ๐Ÿ“–Integrations
      • โ—Common Issues
    • ๐Ÿ”Burger Shop
      • ๐Ÿ“–[ESX/QB] Config
      • ๐Ÿ“‹Installation
      • ๐Ÿ“–Integrations
      • โ—Common Issues
    • ๐Ÿ“ฑTrap Phone
      • ๐Ÿ“–[ESX] Config Files
      • ๐Ÿ“–[QBCore] Config Files
      • ๐Ÿ“‹Installation
      • ๐Ÿ“–Integrations
      • โ—Common Issues
    • ๐Ÿš—Carwipe
      • ๐Ÿ“–[ESX/QB] Config Files
      • ๐Ÿ“„Send Vehicle Garage
      • ๐Ÿ“–Unlocked FIle
      • ๐Ÿ“‹Installation
      • ๐Ÿ“–Exports
      • โ—Common Issues
    • ๐Ÿ“ฆPlaceables
      • ๐Ÿ“–[ESX] Config Files
      • ๐Ÿ“–[QBCore] Config Files
      • ๐Ÿ“‹Installation
      • Money As Item in Ox Inventory
      • ๐Ÿ“–Integrations
      • ๐ŸงพExports / Functions
      • โ—Common Issues
    • ๐ŸšฌSmoking
      • ๐Ÿ“–[ESX] Config Files
      • ๐Ÿ“–[QBCore] Config Files
      • ๐Ÿ“‹Installation
      • ๐Ÿ“–Integrations
      • ๐ŸงพExports / Functions
      • โ—Common Issues
    • ๐ŸŒฑWhite Widow
      • ๐Ÿ“–[ESX] ALL Configs Files
      • ๐Ÿ“–[QBCore] ALL Config Files
      • ๐Ÿ“‹Installation
      • ๐Ÿ“–Integrations
      • ๐ŸงพExports / Functions
      • โ—Common Issues
    • ๐Ÿ‘•Clothing As Item
      • ๐Ÿ“–[ESX] ALL Configs Files
      • ๐Ÿ“–[QBCore] ALL Config Files
      • ๐Ÿ“‹Installation
      • ๐Ÿ“–Integrations
      • ๐Ÿ“–Item Whitelist
      • โ—Common Issues
    • ๐Ÿ’ŽIce Box
      • ๐Ÿ“–[ESX] ALL Configs Files
      • ๐Ÿ“–[QBCore] ALL Config Files
      • ๐Ÿ“‹Installation
      • ๐Ÿ“–Integrations
      • โ—Common Issues
    • ๐Ÿ”ซSwitch
      • ๐Ÿ“–[ESX] Config Files
      • ๐Ÿ“–[QBCore] Config Files
      • ๐Ÿ“‹Installation
      • ๐Ÿ“–Integrations
      • โ—Common Issues
    • ๐Ÿ”ซGun Jamming
      • ๐Ÿ“–[ESX] Config Files
      • ๐Ÿ“–[QBCore] Config Files
      • ๐Ÿ“‹Installation
      • โ—Common Issues
    • ๐Ÿ‘€Lashes Saloon
      • ๐Ÿ“–[ESX] Config Files
      • ๐Ÿ“–[QBCore] Config Files
      • ๐Ÿ“‹Installation
      • โ—Common Issues
    • ๐Ÿ’…Nails Saloon
      • ๐Ÿ“–[ESX] Config Files
      • ๐Ÿ“–[QBCore] Config Files
      • ๐Ÿ“‹Installation
      • โ—Common Issues
    • ๐Ÿ•Duty System
      • ๐Ÿ“–[ESX] Config Files
      • ๐Ÿ“–[QB] Config Files
      • ๐Ÿ“‹Installation
      • ๐ŸงพExports / Functions
      • โ—Common Issues
    • ๐ŸฆฑWigs Bundle
      • ๐Ÿ“–[ESX] Config Files
      • ๐Ÿ“–[QBCore] Config Files
      • ๐Ÿ“‹Installation
      • ๐Ÿ“‹Create New Wigs
    • ๐Ÿš—Chop Shop
      • ๐Ÿ“–[ESX] Config Files
      • ๐Ÿ“–[QBCore] Config Files
      • ๐Ÿ“‹Installation
      • ๐Ÿ“‹Exports (Optional)
      • โ—Copy of Common Issues
Powered by GitBook
On this page
  • Client Side:
  • Unlocked File Path:
  1. FS SCRIPTS
  2. Smoking

Integrations

Resource Integrations guide with other resources.

Client Side:

Unlocked File Path:

fs_smoking/client/unlocked.lua

function TextUi(text)
    if text then
        lib.showTextUI(text)
    else
        lib.hideTextUI()
    end
end
function notification(title, text, duration, type, icon)    
        lib.notify({
            title = title,
            description = text,
            type = type,
            duration = duration,
            icon = icon,
            position = 'top',
            iconColor = '#008000',
            iconAnimation = 'bounce'
        })
end

local disable = false
function DisableControls(bool)
    disable = bool
    CreateThread(function()
        while disable do
            DisablePlayerFiring(cache.ped, true)
            DisableControlAction(0, 44, true) --Q Cover
            DisableControlAction(0, 25, true) -- aim
            DisableControlAction(0, 36, true) -- input duck
            DisableControlAction(0, 106, true) -- vehicle mouse controls
            DisableControlAction(0, 223, true) -- l mouse button
            DisableControlAction(0, 229, true) -- r mouse button4
            DisableControlAction(0, 347, true) -- r mouse button
            DisableControlAction(0, 140, true)
	    DisableControlAction(0, 141, true)
	    DisableControlAction(0, 142, true)
	    DisableControlAction(0, 263, true)
	    DisableControlAction(0, 264, true)
            Wait(0)
        end
    end)
end

PreviousInstallationNextExports / Functions

Last updated 1 year ago

๐Ÿšฌ
๐Ÿ“–