Jump to content
MakeWebGames

Physio Center!


Razor42

Recommended Posts

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!.

physio.jpg.024fde631d590b23a42f282b289dc5af.jpg

Edited by Razor42
Errors
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...