Jump to content
MakeWebGames

[mccode v2] Attack :)


Eternal

Recommended Posts

Re: [mccode v2] Attack :)

 

I copied it exactly as u have it. Here is what is in my file...maybe i didnt see the error. Sorry for the disturbance.

 

You're unable to view this code.

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

 

Try 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: [mccode v2] Attack :)

bah! still not working...thanx for all the help guys, but still nothing. It is really odd.

Now I am getting another error.

 

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/******/public_html/attack.php on line 1

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Re: [mccode v2] Attack :)

i edeited this a bit called it Lazy Fight And made it a simple one click fight that cost $500 to do and it will not destory the gangs when they get to 0 respect heres my version of the code: all this file lazyfight.php

You're unable to view this code.

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

 

in viewuser.php find

You're unable to view this code.

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

and after add:

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: [mccode v2] Attack :)

I tried yours Danny I get this message :

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/wrestlin/public_html/lazyattack.php on line 41

Which is :

$error = ($ir['money'] < 500) "You Need At Least $500 To Do A Lazy Fight." : $error;

I am not really sure about that..

 

Eternal , Your mod is real good.

I think you could improve it by making it so when the attack is done you get the choice to hospitalize, mug or leave them.

Link to comment
Share on other sites

  • 1 month later...

Re: [mccode v2] Attack :)

Well gotta say I love this site. I have read and changed more php in the past few days then ever before. This site is very useful for learning.

That being said I here is my first post on this site.

I noticed when using this mod that when you attack someone you do not loose health. It always stood at 100% on my game. Now I'm not very good at php but I did get it to work for me.

This is how I did it. Any advice and changes would be appreciative.

Find:

 

You're unable to view this code.

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

 

Replace with:

 

You're unable to view this code.

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

 

It seems to work in my game. I have tried attacking 25 times and I did not notice an error. Health seems to drop as well.

Hope it was useful to anyone.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...
  • 7 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...