These all function you can override according to your need if you want
Boss Menu:
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
Open Stash:
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:numberOverride.OpenStash=function(argument)local name = argument.namelocal label = argument.labellocal slots = argument.slotslocal weight = argument.weight -- write down your code-- exmaple code exports['qs-inventory']:RegisterStash(name, slots , weight)end
Request Model:
To Override Request Model system Please copy this below code in fs_bridge/unlocked/client.lua
--@argument model:number:valid hash of model --@argument timeout:number: in miliseconds --@return value: boolean : true/falseOverride.RequestModel=function(model,timeout)-- write your own code here-- example codelocal status = lib.requestModel(model, timeout)return status end
Request Anim Dict:
To Override Request Anim Dict system Please copy this below code in fs_bridge/unlocked/client.lua
--@argument dict:string:valid dict of aniamtion --@argument timeout:number: in miliseconds --@return value: boolean : true/falseOverride.RequestAnimDict=function(dict,timeout)-- write your own code here-- example codelocal status = lib.requestAnimDict(dict, timeout)return statusend
Notification:
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 iconOverride.Notification=function(argument)local title = argument.titlelocal description = argument.descriptionlocal duration = argument.durationlocal type = argument.typelocal icon = argument.icon-- we already configured ox lib as default notification system-- bottom is example codeiftype=='inform' then type ='info end exports['okokNotify']:Alert(title, description, duration, type, true)end
Add Hunger:
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 codeTriggerEvent("esx_status:add", "hunger", value *10000)end
Remove Hunger:
To Override RemoveHunger 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.RemoveHunger=function(value)-- example codeTriggerEvent("esx_status:remove", "hunger", value *10000)end
Add Thirst:
To Override AddThirst 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.AddThirst=function(value)-- example codeTriggerEvent("esx_status:add", "thirst", value *10000)end
Remove Thirst:
To Override RemoveThirst 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.RemoveThirst=function(value)-- example codeTriggerEvent("esx_status:add", "thirst", value *10000)end
Add Stress:
To Override AddStress 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.AddStress=function(value)-- example codeTriggerEvent("esx_status:add", "stress", value *10000)end
Remove Stress:
To Override RemoveStress 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.RemoveStress=function(value)-- example codeTriggerEvent("esx_status:remove", "stress", value *10000)end
Add Armour:
To Override AddArmour 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.AddArmour=function(value)-- example codeifnot value then value =40endSetPedArmor(PlayerPedId(), value)end
Remove Armour:
To Override RemoveArmour 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.RemoveArmour=function(value)-- example codeifnot value then value =40endSetPedArmour(PlayerPedId(), value)end
Show Textui:
To Override ShowTextUi system Please copy this below code in fs_bridge/unlocked/client.lua
--@argument text:string--@argument options:table--@options position:'right-center'/'left-center'/'top-center'/'bottom-center'--@options icon: string --@options can have all ox lib textui optionsOverride.ShowTextUi=function(text,options)-- example code exports['okokTextUI']:Open(text, 'lightblue', 'right', true)end
Hide Textui:
To Override HideTextUi system Please copy this below code in fs_bridge/unlocked/client.lua
Override.HideTextUi=function()-- example code exports['okokTextUI']:Close()end
Give Car Keys Player:
To Override GiveCarKeyPlayer system Please copy this below code in fs_bridge/unlocked/client.lua