Gym System
Purchase
Installation
Standalone
QBCore
Add new items to qb-core/shared/items.lua — items names: protein, creatine, preworkout, testosterone
Example items lines for items.lua:
['protein'] = {['name'] = 'protein', ['label'] = 'Protein', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'protein.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Protein'}, ['creatine'] = {['name'] = 'creatine', ['label'] = 'Creatine', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'creatine.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Creatine'}, ['preworkout'] = {['name'] = 'preworkout', ['label'] = 'Preworkout', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'preworkout.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Preworkout'}, ['testosterone'] = {['name'] = 'testosterone', ['label'] = 'Testosterone', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'testosterone.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Testosterone'},
ESX
Maps
Los Santos GYM https://www.gta5-mods.com/maps/mlo-interior-los-santos-gym
Pump & Run GYM https://www.gta5-mods.com/maps/mlo-pump-run-gym-add-on-sp-fivem-ragemp
La Fitness https://www.youtube.com/watch?v=LXm9ix0fF4Y'
Admin commands
/addgymstats - example: /addgymstats 1 condition 25.0
/removegymstats - example: /removegymstats 1 condition 25.0
/statsgymclear - example: /statsgymclear 1
Exports
Server - SavePlayer
Server - AddStats
Server - RemoveStats
Server - UpdateStats
Server - GetStats
Server - GetAllStats
Client - GetStats
Client - GetAllStats
Notes
This page contains simple installation instructions only.
More detailed instructions, exports, events and developer-related information can be found directly inside the product folder after downloading the resource from the CFX Asset Portal.
Support
If you need help with installation, configuration or have any questions regarding this resource, feel free to contact us on our Discord server:
Last updated