Requirements:
- ES_EXTENDED
- ESX_MENU_DEFAULT
- ESX_MENU_DIALOG
- ESX_MENU_LIST
- ESX_STATUS
- ESX_BASICNEEDS
Features:
- Plenty of exercises such as Yoga, Situps, Pushups, Weights, Chins/pull-ups, Bicycle exercise (rental).
- In order to exercise you need to purchase the gym membership in the gym menu.
- After you've done an exercise there'll be a cooldown for 60 seconds which means you can't do any exercise for 60 seconds.
- A gym shop where you can purchase: water, sportlunch, protein shake, Powerade & bandage.
- Business hours, pretty much it just prints that the gym is open 24hrs/ day.
- Before any exercise the script will ALWAYS doublecheck if the player actually has a membership or not, if the player needs to rest or not and if the player already is training or not etc.
- The script doesn't really take too much CPU usage, I've never received a script warning from ESX_GYM.
- The bandage is giving the player their max health divided with 3 + their current health.
Installation:
- Extract esx_gym.rar into your resource folder.
- Start the script in your server.cfg or wherever you start scripts. Correct row: start esx_gym
- Import the esx_gym.sql into your database (table: items) or do it manually.
- Start/Restart your server.
- Done, have a good time at the gym and get healthy!