Razor42 Posted November 24, 2012 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
Razor42 Posted November 25, 2012 Author Posted November 25, 2012 Thank you and thank you for the help! Quote
sniko Posted November 25, 2012 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
The Coder Posted November 25, 2012 Posted November 25, 2012 Very nice and suffice mod Razor, great work! :) Quote
Razor42 Posted November 25, 2012 Author Posted November 25, 2012 No worries and yes could be something I could look into. Quote
sniko Posted November 25, 2012 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
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.