josh-j-c Posted August 27, 2011 Share Posted August 27, 2011 Right I've changed my game so that none donators get 100 energy and donators get 150 but I'm slightly stuck on my gym now, when I attack it works fine taking 50 energy a time but I haven't cracked how to change the gym trains from 100 down to 10 can anyone help? Thank you in advance, Jc. Quote Link to comment Share on other sites More sharing options...
josh-j-c Posted August 27, 2011 Author Share Posted August 27, 2011 I've looked all around my gym file but can't anything around the defines the amount of times they can train in energy, so im pretty stuck :/ Where would I need to place that around my gym ? Noteing that my gym is stock at the minute, Thanks for your reply btw :) ,, Jc. Quote Link to comment Share on other sites More sharing options...
josh-j-c Posted August 28, 2011 Author Share Posted August 28, 2011 You pretty much solved the whole problem thank you for you help mate, i just needed to change a few more things such as, Times to train: <input type='text' name='amnt' value='" . floor($ir['energy'] / 10) . "' /><br /> and; You now have {$inc} labour and " . floor($ir['energy'] / 10) . " energy left."; thank you for your help mate, thats been messing with my brain for the whole day whilst at work lol :) one final thing though why would Syntax errors occure unless i actually put, " . floor($ir['energy'] / 10) . " and not just, ($ir['energy'] / 10) ???? Jc 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.