Open-source FiveM scripts, MLOs, vehicles & server packs for ESX, QBCore & Qbox. Browse Shop →
All Shop

Yoga-Script (QBCore)

Yoga-Script is a small QBCore activity for FiveM. Players use the sports_mat item to lay out a mat, start yoga on it through qb-target and pick the mat up again afterwards. Finishing a session relieves stress.

Features

  • Usable sports_mat item with inventory image
  • Progress bars for laying out the mat, doing yoga and picking it up
  • qb-target interaction on the placed mat and a built-in yoga scenario
  • Stress relief through the QBCore stress event after a session
  • Configurable in config.lua: item name, progress time (10 s by default), cooldown (15 s by default), whether progress bars can be cancelled, and all texts and notification types

The default texts in config.lua are in Turkish; change them to your language.

Requirements

  • QBCore (qb-core)
  • qb-target

Installation

  • Add the sports_mat item from README.md to your QBCore shared items and copy sports_mat.png to your inventory images.
  • Copy torpak-yoga-main into your resources folder and add ensure torpak-yoga-main to your server.cfg.
  • Adjust texts, times and cooldown in config.lua.