
π»Installation
Dependencies :
ES-EXTENDED
You will need the latest version of es_extended.
Extract the contents of the archive to your resources folder.
Start the resource near the top of your resources in your server.cfg.
Inventories :
QB-INVENTORY
Add the items below to the qb-core/shared/items.lua:
lsfdtablet = { name = 'lsfdtablet', label = 'LSFD Tablet', weight = 100, type = 'item', image = 'lsfdtablet.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Los Santos Fire Department Tablet.'},
OX_INVENTORY
Add the items below into your ox-inventory/data/items.lua
["lsfdtablet"] = {
label = "LSFD Tablet",
weight = 100,
stack = true,
close = true,
description = "Los Santos Fire Department Tablet.",
client = {
image = "lsfdtablet.png",
}
},
Add this into ox_inventory/modules/items/client.lua
Item('lsfdtablet', function(data, slot)
ox_inventory:useItem(data, function(data)
if data then
TriggerEvent("zat-lsfd:client:OpenTablet")
end
end)
end)
QS-INVENTORY
Add the items below into your qs-inventory/shared/items.lua
['lsfdtablet'] = {
['name'] = 'lsfdtablet',
['label'] = 'LSFD Tablet',
['weight'] = 100,
['type'] = 'item',
['image'] = 'lsfdtablet.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Los Santos Fire Department Tablet.'
},
Add this into qs-inventory/server/custom/misc/CreateUseableItem.lua
CreateUsableItem('lsfdtablet', function(source, item)
local src = source
TriggerClientEvent('zat-lsfd:client:OpenTablet', src)
end)
ZAT - DIALOG (in case you use it) :
Add this to shared/config.lua :
-- LSFD
{
img = 'https://i.ibb.co/zhcfY102/Capture-d-cran-2025-08-27-141347.png',
ped = 's_m_y_fireman_01',
anim = 'CODE_HUMAN_MEDIC_TIME_OF_DEATH',
coords = vector4(214.14, -1644.5, 28.8, 317.53),
job = "all", -- { ["police"] = 0, ["ambulance"] = 0} if you are using target
gang = "all", -- { ["ballas"] = 2, ["thelostmc"] = 0} if you are using target
groups = "all", -- { ["police"] = 2, ["ambulance"] = 0} if you are using intearaction
firstname = 'ASTA',
lastname = 'CLEAN',
rep = 0,
mission = 'lsfd',
text = 'Hi there, how can I help you ?',
buttons = {
{
text= 'I want to work',
rep = 0,
answer ='The city is facing fire hazards that need immediate attention. Are you ready to respond and keep everyone safe?',
buttons={{
text = 'Sign In',
shop =false,
rep = 0,
action= {
isServer= false,
event= 'zat-lsfd:client:Signin',
data= {}
},
canInteract = CanToggleSignIn(),
},
{
text = 'Leave Conversation',
shop =false,
rep = 0,
action= {
isServer= false,
event= 'zat-dialog:client:HideUi',
data= {}
},
canInteract = true
}
},
canInteract = true
},
{
text = 'Cancel Mission',
rep = 0,
shop =false,
action= {
isServer= false,
event= 'zat-lsfd:client:StopWorking',
data= {}
},
canInteract = true
},
},
items={
}
},
ADDITIONAL SETUP
ENSURE RESOURCES
Last updated