O.O YAY!!!!! thanks!!!!! Default many many many thanks
Code:------------------------------------------------------------------------------------------------------------------------------------ --17.)Reset char level on Admin CP. ------------------------------------------------------------------------------------------------------------------------------------ First off need to link it to admin cp, so open admin.php, if u added my make a gm char then find; PHP Code:<a href="?op=make_gm">Make a GM</a><br />below it add; PHP Code:<a href="?op=reset_level">Reset Char Level</a><br />save and close, open notepad.exe copy and paste; PHP Code:<?php if(session_is_registered(Admin)) { die('Access Denied'); } ?> <form id="form1" name="form1" method="post" action="?op=reset_level"> <table width="275" border="0" align="center"> <tr> <td width="98">Character Name: </td> <td width="167"><label> <input type="text" name="textfield"> </label></td> </tr> <tr> <td>Are you sure? </td> <td><label> <input name="sure" type="checkbox" id="sure" value="checkbox"> </label></td> </tr> </table> <p align="center"> <input name="submit" type="submit" id="submit" /> <br /> <br /> <?php if(isset($_POST['sure'])) { mysql_query("UPDATE characters SET level = '1' WHERE char_name = '".$_POST['textfield']."'"); echo 'Reset Successfull.'; } else { echo 'If you want to reset this user, then click the box!'; } ?></p> </form>save as reset_level.php in www/modules





