joker313 Posted August 18, 2010 Share Posted August 18, 2010 I have set up a Demo account on my game and i would like to know where in the script i need to put this in the code if($userid==10) { die("<div class=\"maincon\">You can not use this on a demo account sorry.</div>"); } Thanks alot Quote Link to comment Share on other sites More sharing options...
Curt Posted August 18, 2010 Share Posted August 18, 2010 You can add it right under globals in the search streets php script. Quote Link to comment Share on other sites More sharing options...
Jordan Palmer Posted August 18, 2010 Share Posted August 18, 2010 <?php if($ir['userid'] == 10) { echo("<div class=\"maincon\">You can not use this on a demo account sorry.</div>"); exit($h->endpage()); } ?> Quote Link to comment Share on other sites More sharing options...
joker313 Posted August 18, 2010 Author Share Posted August 18, 2010 You can add it right under globals in the search streets php script. I found the globals and fixed it thanks should of posted i had fixed it and thanks jordan Quote Link to comment Share on other sites More sharing options...
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.