Razor42 Posted November 24, 2012 Share Posted November 24, 2012 (edited) First of all I would like to that Sniko for helping me with a couple of Math & HTML problems and then thank Illusions for testing, screenshots and fixing a few stupid errors I made! What this mod does? Allows players to spend money on treatments to help them gain energy and health back. I know its nothing unique or special but just created it to get back into the swing of coding!. Create a file and call it physio.php and add into it: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Screenshot [ATTACH=CONFIG]772[/ATTACH] Hope everyone enjoys using this!. Edited November 24, 2012 by Razor42 Errors Quote Link to comment Share on other sites More sharing options...
Uridium Posted November 24, 2012 Share Posted November 24, 2012 Nice mod weldone Razor :) Quote Link to comment Share on other sites More sharing options...
Razor42 Posted November 25, 2012 Author Share Posted November 25, 2012 Thank you and thank you for the help! Quote Link to comment Share on other sites More sharing options...
sniko Posted November 25, 2012 Share Posted November 25, 2012 Thanks for the credits, appreciated! Good modification! Have you thought about adding a setting-like feature, where you can edit settings in the file, for example; the cost of a massage? Quote Link to comment Share on other sites More sharing options...
The Coder Posted November 25, 2012 Share Posted November 25, 2012 Very nice and suffice mod Razor, great work! :) Quote Link to comment Share on other sites More sharing options...
Razor42 Posted November 25, 2012 Author Share Posted November 25, 2012 No worries and yes could be something I could look into. Quote Link to comment Share on other sites More sharing options...
Razor42 Posted November 25, 2012 Author Share Posted November 25, 2012 And thank you Coder Quote Link to comment Share on other sites More sharing options...
sniko Posted November 25, 2012 Share Posted November 25, 2012 Here's a tip to use on your SQL queries, although not mandatory in this case, as you've got some kind of 'protection' installed, however someone could get 104% energy, and so on. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This will ensure that someone doesn't do the ice bath at 99% energy, and then going to 104% energy - which in my view looks ugly, but it's up to you really. 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.