lukeybabe Posted September 14, 2009 Share Posted September 14, 2009 Hi i a luke i am not a coder just no a little but hopfully going to learn one day. can some one help me out, i want a code like this die("<font color=blue>This Game Is Underconstruction Check Back In 1-2 Hours.</font>"); you people should no what it does lol i a looking for a code like tht but so admins can login but not normal users cause this code die("<font color=blue>This Game Is Underconstruction Check Back In 1-2 Hours.</font>"); ]dont let any one on thanks. Quote Link to comment Share on other sites More sharing options...
seanybob Posted September 16, 2009 Share Posted September 16, 2009 Assuming this is mccodes, just add an if statement checking user level: if($ir['user_level']==1) die("<font color=blue>This Game Is Underconstruction Check Back In 1-2 Hours.</font>"); 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.