PHP - Mmorpg Help
im currently making a mmorpg i have a bank php script and i want donator intrest to be higher then normal players intrest
Code: [Select] $interest= $ir['bankmoney']/100*2 ; $interests=money_formatter($interest); $balance=money_formatter($ir['bankmoney']); ^^^ i want that changed so if ($ir['donatordays'] > 0) donator days are higher then 0 then its 100*6 but normal intrest is 100*2 i can upload more of the bank code if needed but need help with this one as cant figure it out i am a noob and learning so if u have a snippet for it would you be able to explain the code to make this work i do not expect to be spoonfed information but any help u could give would be great thanks Similar TutorialsOk guys, I'm gonna have to throw a question out there. I am building a mmorpg. And I could use some help with some coding. I have two cron files that run every hour and every day(24 hrs ) My question is, how can I add a visual countdown based on server time to show how long the cron has left to tick? I have tried many countdowns but most of them reset once I leave the page. So basically I need a countdown timer to show the user how long till he getts more food or whatever. Any help would be greatly appreciated. Thank you in advance for taking time to read and/or help. |