Jump to content
MakeWebGames

[mccodes v2] Taser Mod


Isomerizer

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 5 months later...

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