Dayo Posted December 2, 2019 Share Posted December 2, 2019 1 Quote Link to comment Share on other sites More sharing options...
BeNiiiBoiii Posted December 2, 2019 Share Posted December 2, 2019 Love it! Good work mate ?? Quote Link to comment Share on other sites More sharing options...
Dave Posted December 2, 2019 Share Posted December 2, 2019 GLV2 is becoming the new MCCodes v3 by the looks of it! 2 Quote Link to comment Share on other sites More sharing options...
Dayo Posted December 2, 2019 Author Share Posted December 2, 2019 2 hours ago, Dave said: GLV2 is becoming the new MCCodes v3 by the looks of it! Still a way to go, but I've now started ? 2 Quote Link to comment Share on other sites More sharing options...
maffei Posted December 3, 2019 Share Posted December 3, 2019 Nice mod! Thanks ❤️ Quote Link to comment Share on other sites More sharing options...
Dayo Posted January 5, 2020 Author Share Posted January 5, 2020 Ive updated this module to allow for the energy and will to be reset via points. The cost is adjustable within the ACP 4 Quote Link to comment Share on other sites More sharing options...
URBANZ Posted January 16, 2020 Share Posted January 16, 2020 Thanks for the mod great addition. Just found a little bug when you reset your energy or will and try and do it again when its already full it lets you reset and still deducts points from account in workout.inc.php find on line 29: if ($this->user->info->US_points < $cost) { return $this->error("You can't afford this!"); } add below: if ($this->user->info->US_energy == $this->user->info->US_maxEnergy) { return $this->error("Your energy is already full!"); } find on line 39: if ($this->user->info->US_points < $cost) { return $this->error("You can't afford this!"); } add below: if ($this->user->info->US_will == $this->user->info->US_maxWill) { return $this->error("Your will is already full!"); } 4 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.