-Genocide- Posted June 29, 2008 Share Posted June 29, 2008 It's been a while since most of you have seen or spoken to me, so I decided to make a little mod for us all to get reacquainted. :::::Med Insurance / Hosp Bill Mod v1::::: What it does: When a user loses a fight or is attacked, not only do they go to the hospital, but they have a bill which they pay every night when the day cron runs, unless they have insurance. insagent.php (for v1) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. insagent.php (for v2) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edits for your attack files: Find the query that send the user to the hospital, should look something like this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Under that add this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. In attacklost.php it should look like this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add these queries to your daily cron: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. SQL: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I coded this one the spot and didnt test any of it. If I missed anything or there are features you would like to see added, let me know and I'll fix it up. Peace. :mrgreen: **Edit** Add this anywhere you would like it to display there medical bill. 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...
Guest Anonymous Posted June 29, 2008 Share Posted June 29, 2008 Re: Medical Insurance / Hospital Bill [FREE] Ballpark problem here.... in the cron there is no protection against money going negative... or did I miss the obvious? Quote Link to comment Share on other sites More sharing options...
-Genocide- Posted June 29, 2008 Author Share Posted June 29, 2008 Re: Medical Insurance / Hospital Bill [FREE] Money is supposed to go into the negative, so as soon as they have money in hand, it goes to pay the bill. Quote Link to comment Share on other sites More sharing options...
03laceys Posted June 30, 2008 Share Posted June 30, 2008 Re: Medical Insurance / Hospital Bill [FREE] Welcome back genocide!!! Quote Link to comment Share on other sites More sharing options...
-Genocide- Posted June 30, 2008 Author Share Posted June 30, 2008 Re: Medical Insurance / Hospital Bill [FREE] Welcome back genocide!!! Thanks much. Quote Link to comment Share on other sites More sharing options...
KingRise Posted July 4, 2008 Share Posted July 4, 2008 Re: Medical Insurance / Hospital Bill [FREE] Cool Mod! Quote Link to comment Share on other sites More sharing options...
redsnake420 Posted July 4, 2008 Share Posted July 4, 2008 Re: Medical Insurance / Hospital Bill [FREE] cool mod geno and welcome back we havnt talked since notorious was still yours im sure most these new people on ce dont even know geno he is definitely a great person and a great coder 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.