Features
3D interaction prompts
World-anchored prompts with real keycaps and an option list that unfolds. 6 styles (Signature, Uniqers Menu, Uniqers Red, Orbit, Card, Tactical) and three key styles (keyboard, PlayStation, Xbox) in F7 β 3D Interact.
Three rings as the player walks up:
On a point
exports['uniqers-uipack']:AddInteraction('fridge', { coords = vector3(-1193.4, -895.2, 13.9), label = 'Fridge', key = 'E', options = { { label = 'Logger Beer', icon = 'fa-solid fa-beer-mug-empty', event = 'shop:beer' }, { label = 'Take all', key = 'BACKSPACE', serverEvent = 'shop:all' }, }, distance = 6.0, interactDist = 2.0, canInteract = function() return true end,}) exports['uniqers-uipack']:UpdateInteraction('fridge', { label = 'Empty fridge' })exports['uniqers-uipack']:RemoveInteraction('fridge')Options take label, icon, key, event, serverEvent, command, onSelect, args, job, items (shown as badges, checked against the inventory), hold (seconds to hold), canInteract, disabled.
On an entity
local id = exports['uniqers-uipack']:AddInteractionEntity(vehicle, { label = 'Trunk', bone = 'boot', options = { ... } })exports['uniqers-uipack']:RemoveInteractionEntity(vehicle) -- every prompt on itOn every model, vehicle, NPC or player
local atm = exports['uniqers-uipack']:AddModelInteraction({ 'prop_atm_01', 'prop_atm_02', 'prop_fleeca_atm' }, { label = 'ATM', distance = 3.0, options = { { label = 'Use ATM', icon = 'fa-solid fa-credit-card', event = 'bank:openAtm' } },})exports['uniqers-uipack']:RemoveModelInteraction(atm) exports['uniqers-uipack']:AddGlobalVehicleInteraction(data)exports['uniqers-uipack']:AddGlobalPedInteraction(data) -- skipDead = true leaves the dead outexports['uniqers-uipack']:AddGlobalPlayerInteraction(data)exports['uniqers-uipack']:AddGlobalObjectInteraction(data)exports['uniqers-uipack']:RemoveGlobalInteraction(id)One scan, about once a second, puts the prompt on what is near. It only exists while one of these is registered.
Not through walls
A prompt with a wall, a floor or a prop between it and the camera is hidden. One ray per prompt every 150 ms β never per frame β and two blocked looks in a row before it hides, so it does not blink. People and vehicles never block. A target zone's prompt (qb-target / ox_target zones) counts as seen when the ray stops on something inside that zone β a gate, a panel or a wall the zone is built around β the way qb-target and ox_target read zones; it is only hidden by what lies outside the zone. Turn it off per prompt with ignoreLos = true, or for all with InteractConfig.LineOfSight = false.
In game
/uipackadmin β 3D places prompts with the world picker (aim, click), sets their options and copies the AddInteraction code.
Clean-up
Everything a script registered goes away when that script stops.
Still stuck? Send us your server log on Discord and we will sort it out with you.
Ask on Discord