Client
Target System
Lib47.AddBoxZone
Lib47.AddBoxZone--- @param name string Unique name for the zone
--- @param center vector3 Central coordinates
--- @param length number Length of the box
--- @param width number Width of the box
--- @param options table Zone options (minZ, maxZ, debugPoly, heading, useZ)
--- @param targetoptions table List of options using qb-target structure
Lib47.AddBoxZone("my_zone", vector3(100.0, 200.0, 30.0), 2.0, 2.0, {
minZ = 29.0,
maxZ = 31.0,
debugPoly = false,
heading = 90.0
}, {
options = {
{
type = "client", -- or "server", "command"
event = "myscript:client:action",
icon = "fas fa-user",
label = "Interact",
job = "police", -- qb-target standard
gang = "ballas", -- qb-target standard
item = "handcuffs", -- qb-target standard
action = function() -- Optional function support if not using event
print("Clicked")
end
}
},
distance = 2.5
})Lib47.AddPolyZone
Lib47.AddPolyZoneLib47.AddCircleZone
Lib47.AddCircleZoneLib47.AddTargetEntity
Lib47.AddTargetEntityLib47.AddTargetModel
Lib47.AddTargetModelLib47.RemoveZone
Lib47.RemoveZoneUI & Progress
Lib47.ShowProgress
Lib47.ShowProgressLib47.Notify
Lib47.NotifyInventory (Client)
Lib47.OpenStash
Lib47.OpenStashLib47.OpenSearchInventory
Lib47.OpenSearchInventoryLib47.CloseInventory
Lib47.CloseInventoryLib47.SetInventoryBusy
Lib47.SetInventoryBusyVehicles & Keys
Lib47.GiveVehicleKey
Lib47.GiveVehicleKeyLib47.RemoveVehicleKey
Lib47.RemoveVehicleKeyLib47.SetVehicleFuel
Lib47.SetVehicleFuelLib47.StoreVehicleHousing
Lib47.StoreVehicleHousingLib47.OpenGarageHousing
Lib47.OpenGarageHousingStatus
Lib47.IsDead
Lib47.IsDeadLib47.IsLastStand
Lib47.IsLastStandLib47.IsIncapacitated
Lib47.IsIncapacitatedLast updated