Jump to content
MakeWebGames

City Park - Energy Restore Once A Day


Miks

Recommended Posts

I know theres a paid mod called City Park already, I made it a couple of years ago but wanted to improve it and make it free.

**Note this is the first time I am sharing on the forum so might not have put it in the right format etc**

The city park allows a user to restore there health once a day to either train some more or battle more users etc

I have tested it and it works fine. If you want to use it then just following the below steps

1. You need to alter/add a new column in the users table called citypark

[mysql]ALTER TABLE `users` ADD `citypark` INT( 2 ) NOT NULL ;[/mysql]

2. Add this to your daily cron file

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

3. This is the pages source code, you will need to edit it slightly to fit your design as we made a custom css file

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 
Link to comment
Share on other sites

  • 3 weeks later...

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