Isomerizer Posted April 6, 2009 Posted April 6, 2009 Pretty simple modification. Just allows users to purchase a taser gun (you decide how, maybe even a donator only opt). Once they have the taser gun, then can then taser one user for 5 minutes (this will make the user totally frozen for 5 mins). This could be used for attacks on the user, seeing as they are vulnerable if frozen. 1. Run the SQL. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. (You may need to change the itmtype, buy/sell price.) 2. Open up itemuse.php and find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Under add: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 3. Open header.php and find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Under add: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There, pretty simple, hence why it's free. Hopefully a few of you may find it useful in your game. Enjoy... Oh yeah, and credits to Faz for the idea. :-) Quote
Miniman Posted April 6, 2009 Posted April 6, 2009 Re: [mccodes v2] Taser Mod Haha, I like this idea, it's fun. Good job +1 Quote
Faz` Posted April 6, 2009 Posted April 6, 2009 Re: [mccodes v2] Taser Mod Brilliant mod! I'll be using this for sure =D I tried to do it myself, but it turned out a failure like usual :D Quote
Strats Posted April 6, 2009 Posted April 6, 2009 Re: [mccodes v2] Taser Mod I wanted to test this but I haven't done well lol. I put in the sql and it says : You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Strats Posted April 6, 2009 Posted April 6, 2009 Re: [mccodes v2] Taser Mod Also I get this on my game, Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/wrestlin/public_html/header.php on line 202 can someone give a push in the right direction? Quote
Faz` Posted April 6, 2009 Posted April 6, 2009 Re: [mccodes v2] Taser Mod I had that error too. Run this SQL first: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then run this after it run this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Faz` Posted April 6, 2009 Posted April 6, 2009 Re: [mccodes v2] Taser Mod Also, post up you header here. If its something special and you don't want people to see it, pm me and I'll help you out. Quote
Strats Posted April 7, 2009 Posted April 7, 2009 Re: [mccodes v2] Taser Mod Thank you, The header is ok now :) Quote
Karlos Posted April 7, 2009 Posted April 7, 2009 Re: [mccodes v2] Taser Mod You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Looks like you changed your post before I posted.. Here's a untested fix anyway. Quote
Strats Posted April 7, 2009 Posted April 7, 2009 Re: [mccodes v2] Taser Mod This mod does not seem to work well for me lol but still nice idea Quote
Strats Posted April 7, 2009 Posted April 7, 2009 Re: [mccodes v2] Taser Mod You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Looks like you changed your post before I posted.. Here's a untested fix anyway. Quote
Karlos Posted April 7, 2009 Posted April 7, 2009 Re: [mccodes v2] Taser Mod You quote my post without saying anything? Quote
Strats Posted April 7, 2009 Posted April 7, 2009 Re: [mccodes v2] Taser Mod Stupid thing. It went crazy earlier lol The code you did there didn't help sorry. For some reason Quote
Uridium Posted April 7, 2009 Posted April 7, 2009 Re: [mccodes v2] Taser Mod You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Try that cherry Quote
Faz` Posted April 7, 2009 Posted April 7, 2009 Re: [mccodes v2] Taser Mod The mod works a treat for me. Brilliant donator feature. Quote
Strats Posted April 7, 2009 Posted April 7, 2009 Re: [mccodes v2] Taser Mod I get this : QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= '0' WHERE userid=1' at line 1 Query was UPDATE `users` SET = '0' WHERE userid=1 What should it be? This has been buggin me all day lol Quote
Faz` Posted April 7, 2009 Posted April 7, 2009 Re: [mccodes v2] Taser Mod I have had this error too, you see in the file it says somewhere "Change this to ID of the taser" Or something similar, change that. I had that error at first, I was only glancing over the code quickly, change it and the error should be fixed. Let me know if you still have problems after this. Quote
Strats Posted April 7, 2009 Posted April 7, 2009 Re: [mccodes v2] Taser Mod Thanks bud, You helped me out big time. I always miss simple things lol Quote
Faz` Posted April 7, 2009 Posted April 7, 2009 Re: [mccodes v2] Taser Mod I'm probably just as bad as you :mrgreen: Quote
gurpreet Posted April 8, 2009 Posted April 8, 2009 Re: [mccodes v2] Taser Mod Adding it now, looks great. Quote
Strats Posted April 14, 2009 Posted April 14, 2009 Re: [mccodes v2] Taser Mod I just let someone taser me and I get this : Fatal error: Call to a member function endpage() on a non-object in /home/wrestlin/public_html/header.php on line 196 which is : $h->endpage(); exit; Is that wrong? The Mod still works just wondered what that is Quote
Faz` Posted April 14, 2009 Posted April 14, 2009 Re: [mccodes v2] Taser Mod Yeah, I had this problem. Change it to $this->endpage(); exit; It worked for me. Quote
Strats Posted April 14, 2009 Posted April 14, 2009 Re: [mccodes v2] Taser Mod Ah I see. Thank Faz that would of bugged me lol Quote
Strats Posted September 19, 2009 Posted September 19, 2009 I have a new header and cannot get this to work with it now. Can someone message if they can help me please. Is there meant to be a cron for this? 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.