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. Clothing As Item

Integrations

Resource Integrations guide with other resources.

Client Side:

Unlocked File Path:

fs_clothingitem/client/unlocked.lua

unlocked.lua
RegisterNetEvent('fs_clothingitem:notify')
AddEventHandler('fs_clothingitem:notify', function(msg)
    lib.notify({
        title = 'Cloting Item',
        description = msg,
        type = 'info',
        icon = "fa-solid fa-shirt",
        duration = 5000,
    })
end)
 
function IsPlayerhandsup(ped)
    return IsPedCuffed(ped)
    or IsEntityPlayingAnim(ped, 'missminuteman_1ig_2', 'handsup_base', 3)
    or IsEntityPlayingAnim(ped, 'missminuteman_1ig_2', 'handsup_enter', 3)
    or IsEntityPlayingAnim(ped, 'random@mugging3', 'handsup_standing_base', 3)
end

function minigame()
    local success = lib.skillCheck({ 'easy', 'easy', 'easy' }, { 'a', 's', 'd', 'w' })
    return success
end

function isPlayerDead(ped, playerserverid)
    return IsPedDeadOrDying(ped, true)
end

function PlayAnim(ped, anim, dict, time)
    if Config.UseProgressbar then
        lib.progressCircle({
            duration = time,
            position = 'bottom',
            useWhileDead = false,
            canCancel = false,
            disable = {
                car = true,
            },
            anim = {
                dict = anim,
                clip = dict
            },
        })
    else
        RequestAnimDict(anim)
        while (not HasAnimDictLoaded(anim)) do Wait(0) end
        TaskPlayAnim(ped, anim, dict, 9.0, 10.0, time, 0, 1, true, true, true)
    end
end

PreviousInstallationNextItem Whitelist

Last updated 8 months ago

๐Ÿ‘•
๐Ÿ“–