Jump to content

attacking issue


Recommended Posts

no matter what i do when a fight is over and i choose to put them in the hosp/mug/ or leave i get the thing for cheaters saying i lose all my exp how do i fix that?

this is the code causing it


if ($dosessh && isset($_SESSION['attacking']))
           if ($_SESSION['attacking'] > 0)
               print "<center><b>You tried to run from a fight.<br/>Dont worry for cheating you wont be going up a level any time soon.</b></center>";
               mysql_query("UPDATE users SET exp=0 WHERE userid=$userid", $c);
               $_SESSION['attacking'] = 0;

Edited by WarMad
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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