Client
Target System
Bridge.AddBoxZone
Bridge.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
Bridge.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
})Bridge.AddPolyZone
Bridge.AddPolyZoneBridge.AddCircleZone
Bridge.AddCircleZoneBridge.AddTargetEntity
Bridge.AddTargetEntityBridge.AddTargetModel
Bridge.AddTargetModelBridge.RemoveZone
Bridge.RemoveZoneUI & Progress
Bridge.ShowProgress
Bridge.ShowProgressBridge.Notify
Bridge.NotifyInventory (Client)
Bridge.OpenStash
Bridge.OpenStashBridge.OpenSearchInventory
Bridge.OpenSearchInventoryBridge.CloseInventory
Bridge.CloseInventoryBridge.SetInventoryBusy
Bridge.SetInventoryBusyVehicles & Keys
Bridge.GiveVehicleKey
Bridge.GiveVehicleKeyBridge.RemoveVehicleKey
Bridge.RemoveVehicleKeyBridge.SetVehicleFuel
Bridge.SetVehicleFuelBridge.StoreVehicleHousing
Bridge.StoreVehicleHousingBridge.OpenGarageHousing
Bridge.OpenGarageHousingStatus
Bridge.IsDead
Bridge.IsDeadBridge.IsLastStand
Bridge.IsLastStandBridge.IsIncapacitated
Bridge.IsIncapacitatedLast updated