Jump to content
MakeWebGames

[mccode] Stop Attack Refreshing


BreakingLight
 Share

Recommended Posts

Its easy o do but for those who are still learning here it is.

Fint This In Attack.php

You're unable to view this code.

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

 

Underneath it Add

You're unable to view this code.

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

 

Then save it and your done.That way when a user has 0 hp it gives off that message.And as a punishment it sets the user in the hospital for 300 minutes for the reason tried to run from user name.Pretty simple hope this helps out some

Link to comment
Share on other sites

Re: Stop Attack Refreshing

 

Its easy o do but for those who are still learning here it is.

Fint This In Attack.php

You're unable to view this code.

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

 

Underneath it Add

You're unable to view this code.

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

 

Then save it and your done.That way when a user has 0 hp it gives off that message.And as a punishment it sets the user in the hospital for 300 minutes for the reason tried to run from user name.Pretty simple hope this helps out some

lol but what if they had no HP [life] and they attack. 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

Guest Anonymous

Re: [mccode] Stop Attack Refreshing

i don't see how that stops refreshing, wouldn't a better way to do this would be through ajax and use endif if they are using hotkeys to refresh?

Link to comment
Share on other sites

Re: [mccode] Stop Attack Refreshing

One of the major MC code attack.php errors is that when you get killed and it says continue you refresh and keep going until you kill him (even if you have negative hp) that says if your hp=0 then you are refreshing you can do how i did and go more advanced and put sumin else in the query and let staff know that he refreshed.

Link to comment
Share on other sites

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

 Share

×
×
  • Create New...