[FREE/QB/QBX] Matti-Riddles

matti-riddles

The script uses ox_lib modules and peds to let your players solve riddles that you can configure on your own. To start the riddle adventure, you can configure the price your players have to pay in order to start the adventure. At the end of solving all the riddles, you can configure items to be given to players.

If anyone got ideas or suggestions, please let me know. I’m always open to update my scripts to the people’s needs :slight_smile:

Link:

Preview:

Start:

image

Price config:

image

Riddles:

image

Inputs:

image

Wrong answer:

image

Debug answer:

image

Completing:

image

Code is accessible Yes
Subscription-based No
Lines (approximately) ±235
Requirements & dependencies ox_lib, ox_inventory, qb-target OR ox_target
Support No
5 Likes

doesnt work with qb-target

Very good idea I wish I could add qb-inventory + qb-target

I want you to work the person using the riddles Like once a day or every 12 hours to use the system again

Heya guys, thanks for reaching out. Currently the script only fully works with OX resources but I plan on adding QBCore support aswell, it’s just been a bit busy with studies. I’ll see what I can do and try to update the script within the next 24h and keep you guys updated :+1:

1 Like

Been working on QB integration for an hour already (not pushed yet):

  • qb-target works, just need to make Config.Target work
  • Config.Inventory will be removed, I will use metadata (if possible)
  • fix some errors with ox_lib
  • Config.PriceMethod is on planning
  • (optional) cooldown will be added

Should be updated by the end of the week (not a promise tho)

  • (for a later date) have multiple locations & riddles that changes on script restart

Was this ever fixed to work with qb-target and qb-inventory ?

As I mentioned, only ox resources work for now, but I’m working on a QB integration, just be patient as I’m pretty busy myself and I do my scripts for fun, entertainment and boredom so it definitely isn’t a priority in my life to fix or add anything to my scripts