Jump to content
MakeWebGames

[McCodes V2] Private Helth Care (Donator Only)


Dayo

Recommended Posts

Private Helth Care

Me again :-D This mod will alow donators to get private health care and half there hospital time at a cost of $5,000.

Replace Hospital.php with

You're unable to view this code.

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

 

Make File Privatehealth.php

You're unable to view this code.

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

 

Enjoy :-D

Also i will be adding more donator only scripts later on as there are hardly any for donators only, if you have any ideas post here :D

Link to comment
Share on other sites

Re: [McCodes V2] Private Helth Care (Donator Only)

oh ok :-P

woops when i posted the updated version i forgot to add that back in :roll:

yea Privatehealth.php has to be

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

  • 2 weeks later...

Re: [McCodes V2] Private Helth Care (Donator Only)

i tried to convert this to v1 but get this error

Fatal error: Call to a member function on a non-object in /home/thugmayh/public_html/hospital.php on line 33

whats on that line

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

Re: [McCodes V2] Private Helth Care (Donator Only)

Little bit better version..All on one page...

Just replace your hospital.php with this one. No disrespect to anyone. Just got bored and saw that this could be done in the same page...so Here ya go...

 

You're unable to view this code.

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

 

EDIT: I have tested. Just not a lot. So you have find errors post here. I will help you with them.

Link to comment
Share on other sites

Re: [McCodes V2] Private Helth Care (Donator Only)

I changed it to mccodes v1 but i have one error that i received, the error is below

 

You're unable to view this code.

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

 

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

Re: [McCodes V2] Private Helth Care (Donator Only)

Little bit better version..All on one page...

Just replace your hospital.php with this one. No disrespect to anyone. Just got bored and saw that this could be done in the same page...so Here ya go...

You're unable to view this code.

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

EDIT: I have tested. Just not a lot. So you have find errors post here. I will help you with them.

thanks, saved me a little time :-D

as for the error check that all the tables exist

Link to comment
Share on other sites

Re: [McCodes V2] Private Helth Care (Donator Only)

 

hmm

these are lines 80-82

You're unable to view this code.

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

 

error is

You're unable to view this code.

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

 

Line 80 you have $mysql_query should be mysql_query

Link to comment
Share on other sites

Re: [McCodes V2] Private Helth Care (Donator Only)

echo "<form action='hospital.php' method='post'>";

echo "<input type='hidden' name='hc' />";

echo "<input type='submit' value='Get Private Health Care' />";

echo "</form>";

echo "

";

echo much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Link to comment
Share on other sites

Re: [McCodes V2] Private Helth Care (Donator Only)

Yeah I do lol..

And it seems everyone is having trouble.....

Here is v1

 

You're unable to view this code.

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

 

Here is v2

 

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

Re: [McCodes V2] Private Helth Care (Donator Only)

it lets them do it as much as they want as i like to keep games realistic and in real life you can get as much as you can afford (plus once you have a min left it wont let you get ne more ( easily changed by finding

if($ir['hospital'] == 1)

and replacing with

if($ir['hospital'] < X)

replace X with a number

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