Sleepless Interact v2

sleepless_interact V2

now with ox_target support

A FiveM library for creating DUI world interactions

Returning Features

  • uses dui, allowing for full style customization through css
  • supports ox_core, esx, and qbx
  • add interactions to models, players, ped, objects
  • entity bone support
  • group option filtering
  • required item(s) filtering
  • networked and local entity handling
  • cleanup for dead interaction data (entity no longer valid)

new features

  • Full ox_target pass through support. it has built in export handlers for ox_target/qtarget
  • the fundamental way the options are built has changed from v1, so now you will have proper option stacking like in ox_target if 2 calls are made to add options to the same entity from 2 different resources.
  • optional press and hold for specific options
  • color theme override per option
  • new cooldown state styling
  • removed React UI and am using vanilla js instead

breaking changes

  • v1 is not compatible with v2 at all. if you are looking to upgrade, their will be a few small things you will need to change. the documentation has been updated and i have kept thr v1 documentation up as well so you can compare.

Depedencies

  • ox_core, qb, or ESX (this is for job checking and item checking)
  • ox_inventory (optional, item checking)

resmon:

  • inactive: 0.00-0.01
  • active drawing 1 interaction: 0.03-0.04
  • active drawing a few: 0.08-0.10
    resmon will be vary for different computers. this is what my computer got

preview

Links

11 Likes

nice work :heart:

1 Like

Common Demi W

– Dan

1 Like

Well done Demi!

1 Like

Thanks!

Is there a discord or something? Or can someone assist me with this script? IM getting an error message nobody can figure out what is causing it

What type of error are you getting?

^1SCRIPT ERROR: @ox_lib/imports/require/client.lua:187: module ‘client.utils’ not found
no field package.preload[‘client.utils’]
no file ‘@sleepless_interact/client/utils.lua’
no file '@sleepless_interact/client/utils/init.lua

Try this:

ensure ox_lib
ensure qb-core
ensure [qb]
ensure sleepless_interact

Sleepless is meant to be some sort of redesign for ox/qb target and has dependencies with ox_lib.

Could you do it for qbcore?