Dayo Posted March 27, 2009 Posted March 27, 2009 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 Quote
Ishraq Posted March 27, 2009 Posted March 27, 2009 Re: [McCodes V2] Private Helth Care (Donator Only) great work dayo this can get people to donate Quote
Cronus Posted March 27, 2009 Posted March 27, 2009 Re: [McCodes V2] Private Helth Care (Donator Only) [me=Cronus]sends mod to Obama[/me] Quote
Karlos Posted March 27, 2009 Posted March 27, 2009 Re: [McCodes V2] Private Helth Care (Donator Only) Is two files necessary for this mod? Why not make it in hospital.php Quote
Dayo Posted March 27, 2009 Author Posted March 27, 2009 Re: [McCodes V2] Private Helth Care (Donator Only) lazyness :roll: and cron what did u mean :| Quote
castle Posted March 27, 2009 Posted March 27, 2009 Re: [McCodes V2] Private Helth Care (Donator Only) Think your missing this line: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
gurpreet Posted March 27, 2009 Posted March 27, 2009 Re: [McCodes V2] Private Helth Care (Donator Only) lazyness :roll: and cron what did u mean :| Iz a joke..He means he send Private Health Care so USA peepz get it. Obama = president.. Quote
Dayo Posted March 27, 2009 Author Posted March 27, 2009 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. Quote
BreakingLight Posted March 27, 2009 Posted March 27, 2009 Re: [McCodes V2] Private Helth Care (Donator Only) [me=Cronus]sends mod to Obama[/me] lmao XD Quote
Assault Posted April 6, 2009 Posted April 6, 2009 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. Quote
AlabamaHit Posted April 6, 2009 Posted April 6, 2009 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. Quote
Assault Posted April 6, 2009 Posted April 6, 2009 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. Quote
Dayo Posted April 6, 2009 Author Posted April 6, 2009 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 Quote
AlabamaHit Posted April 6, 2009 Posted April 6, 2009 Re: [McCodes V2] Private Helth Care (Donator Only) His v1 error is he still has $db-> on that page. Quote
Assault Posted April 6, 2009 Posted April 6, 2009 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. Quote
DELETE ME NOW! Posted April 6, 2009 Posted April 6, 2009 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 Quote
Strats Posted April 6, 2009 Posted April 6, 2009 Re: [McCodes V2] Private Helth Care (Donator Only) Nice work Dayo! Thanks for sharing. Quote
Assault Posted April 6, 2009 Posted April 6, 2009 Re: [McCodes V2] Private Helth Care (Donator Only) error is gone but have a new problem now http://thugmayhem.com/error.JPG Quote
DELETE ME NOW! Posted April 6, 2009 Posted April 6, 2009 Re: [McCodes V2] Private Helth Care (Donator Only) i forgot to say the $mysql_fetch_row should be mysql_fetch_array Quote
Strats Posted April 6, 2009 Posted April 6, 2009 Re: [McCodes V2] Private Helth Care (Donator Only) What file is that, thats needs to be changed? Just so I can do it now Quote
Assault Posted April 6, 2009 Posted April 6, 2009 Re: [McCodes V2] Private Helth Care (Donator Only) opa! it works completly now here is the working code for mccodes v1 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Raptor_Jesus Posted April 6, 2009 Posted April 6, 2009 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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Quote
AlabamaHit Posted April 6, 2009 Posted April 6, 2009 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. Quote
redsnake420 Posted April 6, 2009 Posted April 6, 2009 Re: [McCodes V2] Private Helth Care (Donator Only) works great hit but i was wondering is it supposed to keep letting them get personal health care or is it only supposed to do it once? Quote
Dayo Posted April 7, 2009 Author Posted April 7, 2009 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 Quote
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.