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_matitem 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_matitem fromREADME.mdto your QBCore shared items and copysports_mat.pngto your inventory images. - Copy
torpak-yoga-maininto your resources folder and addensure torpak-yoga-mainto your server.cfg. - Adjust texts, times and cooldown in
config.lua.