joker313 Posted August 18, 2010 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
Curt Posted August 18, 2010 Posted August 18, 2010 You can add it right under globals in the search streets php script. Quote
Jordan Palmer Posted August 18, 2010 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
joker313 Posted August 18, 2010 Author 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
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.