๐Ÿ“–Client_Override

These all function you can override according to your need if you want

Copy Any of this code into fs_bridge/unlocked/client.lua

chevron-rightBoss Menu:hashtag

To Override Boss Menu system Please copy this below code in fs_bridge/unlocked/client.lua

--@argument job:string    
Override.OpenBossMenu = function(job)
    -- esx/qb already configured but if u want to use any custom please write down 
    -- exmaple code
    exports['Ricky-BossMenu']:OpenBossMenu(job)
end
chevron-rightOpen Stash:hashtag

To Override Stash system Please copy this below code in fs_bridge/unlocked/client.lua

--@argument name:string    
--@argument label:string     
--@argument slots:number
--@argument weight:number

Override.OpenStash = function(argument)
    local name = argument.name
    local label = argument.label
    local slots = argument.slots
    local weight = argument.weight    
    -- write down your code
    -- exmaple code
    exports['qs-inventory']:RegisterStash(name, slots , weight)
    
end
chevron-rightNotification:hashtag

To Override Notification system Please copy this below code in fs_bridge/unlocked/client.lua

--@argument title:string    
--@argument description:string     
--@argument time:miliseconds
--@argument type:string: 'inform'/'error'/'success'
--@argument icon:string: 'fontawesome' free icon
 
Override.Notification = function(argument)
    local title = argument.title
    local description = argument.description
    local duration = argument.duration
    local type = argument.type
    local icon = argument.icon

    -- we already configured ox lib as default notification system
    -- bottom is example code
    if type == 'inform' then type = 'info end
     exports['okokNotify']:Alert(title, description, duration, type, true)
end
chevron-rightAdd Hunger:hashtag

To Override AddHunger system Please copy this below code in fs_bridge/unlocked/client.lua

--@argument value:number  range = 1 to 100
-- value here is a kind of percetange from 1 to 100 any vlaue   
Override.AddHunger = function(value)
    -- example code
    TriggerEvent("esx_status:add", "hunger", value * 10000)
end
chevron-rightRemove Hunger:hashtag

To Override Remove Hunger Please copy this below code in fs_bridge/unlocked/client.lua

--@argument value:number  range = 1 to 100
-- value here is a kind of percetange from 1 to 100 any vlaue   
Override.RemoveHunger = function(value)
    -- example code
    TriggerEvent("esx_status:remove", "hunger", value * 10000)
end
chevron-rightAdd Thirst:hashtag

To Override AddThirst system Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightRemove Thirst:hashtag

To Override Remove Thirst Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightAdd Stress:hashtag

To Override AddStress system Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightRemove Stress:hashtag

To Override RemoveStress Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightAdd Armour:hashtag

To Override AddArmour system Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightRemove Armour:hashtag

To Override RemoveArmour Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightShow Textui:hashtag

To Override ShowTextUi system Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightHide Textui:hashtag

To Override HideTextUi system Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightGive Car Keys Player:hashtag

To Override GiveCarKeyPlayer Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightRemove Car Keys Player:hashtag

To Override RemoveCarKey Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightGive Car Keys Job:hashtag

To Override GiveCarKeysJob Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightRemove Car Keys Job:hashtag

To Override RemoveCarKeysJob Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightSet Vehicle Fuel:hashtag

To Override SetFuel system Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightGet Vehicle Fuel:hashtag

To Override GetFuel system Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightReset Skin {Clothing Scripts}:hashtag

To Override Reset Skin Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightSave PlayerSkin {Clothing Scripts}:hashtag

To Override Save PlayerSkin Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightDispatch system:hashtag

To Override this function Please copy this below code in fs_bridge/unlocked/client.lua

chevron-rightClothing System:hashtag

To Override this function Please copy this below code in fs_bridge/unlocked/client.lua

Last updated