rowbvp Posted January 13, 2010 Posted January 13, 2010 I'm done adding the human Vs Zombie V2 mod, but because of my costume attack I am having trouble adding this line Open attack.php Find ------------------------------------------------------ <form action='attacktake.php?ID={$_GET['ID']}' method='post'><input type='submit' value='Leave Them' /></form>"; ------------------------------------------------------ After that add ------------------------------------------------------ if ($ir['humanorzombie'] == 1 && $odata['level'] >= $ir['level'] && $odata['humanorzombie']==0) { echo '<form action="attackbite.php?ID='.$_GET['ID'].'" method="post"><input type="submit" value="Bite Them" /></form>'; } This does not work for my attack.php Quote
Agon Posted January 13, 2010 Posted January 13, 2010 You'd put it somewhere around line 256. With attackwon, attacktake, etc. Hope this helps. Quote
rowbvp Posted January 14, 2010 Author Posted January 14, 2010 yes i tried that that if ($ir['humanorzombie'] == 1 && $odata['level'] >= $ir['level'] && $odata['humanorzombie']==0) { wont work on line 265 Quote
Dayo Posted January 14, 2010 Posted January 14, 2010 i would advise you to remove your attack it looks like a paid mod from iamwicked (trys to remember current name) and your showing it to MWG community Quote
Dekrypt Posted October 31, 2013 Posted October 31, 2013 I'm done adding the human Vs Zombie V2 mod, but because of my costume attack I am having trouble adding this line Open attack.php Find ------------------------------------------------------ <form action='attacktake.php?ID={$_GET['ID']}' method='post'><input type='submit' value='Leave Them' /></form>"; ------------------------------------------------------ After that add ------------------------------------------------------ if ($ir['humanorzombie'] == 1 && $odata['level'] >= $ir['level'] && $odata['humanorzombie']==0) >>{ echo '<form action="attackbite.php?ID='.$_GET['ID'].'" method="post"><input type="submit" value="Bite Them" /></form>'; } This does not work for my attack.php<< The items within the >><< are also on the same line so double check they aren't causing the problem 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.