shrek1609 Posted July 30, 2009 Author Share Posted July 30, 2009 Re: Hospital Java Countdown exactly what i've done... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Wouldn't this let them use it more than once? no because you put it inside the effect if statement You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. you can edit the item and set the effect 1 to on and just leave the other settings ie it updates energy with 0 or as you are not using the hospital field anymore just leave it and dont bother editing it... so it will update hospital field with x amount of minutes... but you dont use it so dont matter really Quote Link to comment Share on other sites More sharing options...
endo Posted July 31, 2009 Share Posted July 31, 2009 Re: Hospital Java Countdown few small problems if you check your javascript :) just read through it and it wont cound hours just minutes and seconds i suppose not a problem if your running on minutes alone but to anyone else it will not count hours i can post a fix up for you if you want Quote Link to comment Share on other sites More sharing options...
endo Posted July 31, 2009 Share Posted July 31, 2009 Re: Hospital Java Countdown correction minutes not working correctly as of yet but am still working on it Quote Link to comment Share on other sites More sharing options...
endo Posted July 31, 2009 Share Posted July 31, 2009 Re: Hospital Java Countdown correct that correction fixed it Quote Link to comment Share on other sites More sharing options...
The Chaotic Banana Posted July 31, 2009 Share Posted July 31, 2009 Re: Hospital Java Countdown Overall Good mod m8 +1 :P Quote Link to comment Share on other sites More sharing options...
endo Posted July 31, 2009 Share Posted July 31, 2009 Re: Hospital Java Countdown find the line in shreks javascript : You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. working for me if it doesnt work for you its something you end i havent come across any bugs, can be adapted for days if you want to use in federal jail but im not sure why you would want to :s but hey its you game Quote Link to comment Share on other sites More sharing options...
endo Posted August 2, 2009 Share Posted August 2, 2009 Re: Hospital Java Countdown am working on the adaptation for days if anyone is interested message me Quote Link to comment Share on other sites More sharing options...
gideon prewett Posted October 16, 2009 Share Posted October 16, 2009 Guide? What happened to the guide to do this for everything? ?( Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted November 6, 2009 Share Posted November 6, 2009 Nice idea, good job Quote Link to comment Share on other sites More sharing options...
boionfire81 Posted June 25, 2016 Share Posted June 25, 2016 Re: Hospital Java Countdown *** Forgot to say with this method if you refresh time left doesn't jump back up *** ok folks this is more accurate and as its impossible to make it 100% accurate without using 1 second crons, if its slightly out it will display "releasing" in the hospital list... first off run this sql You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. everywhere you send someone to hospital ie attackwon attacklost attackbeat etc insert into the hospital queries the following... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. (1200 is 20 minutes so however many minutes you want times it by 60) an example of altered query You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. you will need to change these queries whereever the hospital field is updated in the database, which i guess is different for you all... now open hospital.php find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace with... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Nothing is showing up in the Time column. My code: attackwon.php; You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. hospital.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 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.