hunter Posted March 16, 2007 Share Posted March 16, 2007 Is there a way to put a level cap in my game so that users cant go over a certian level Quote Link to comment Share on other sites More sharing options...
seanybob Posted March 16, 2007 Share Posted March 16, 2007 Re: Quick Question if($ir['level']>10) { die("You're over level 10. Go screw a goat."); } add the above to your header.php, it will work perfectly. EDIT: Dangit, lostone beat me to it. His explanation (although less colorful than mine) is better. Quote Link to comment Share on other sites More sharing options...
kronow Posted March 16, 2007 Share Posted March 16, 2007 Re: Quick Question if($ir['level']>10) { die("You're over level 10. Go screw a goat."); } add the above to your header.php, it will work perfectly. EDIT: Dangit, lostone beat me to it. His explanation (although less colorful than mine) is better. wont you gain exp for screwing a goat? :mrgreen: Quote Link to comment Share on other sites More sharing options...
seanybob Posted March 16, 2007 Share Posted March 16, 2007 Re: Quick Question only if he has a reproductive stat Quote Link to comment Share on other sites More sharing options...
Vorlen Posted March 16, 2007 Share Posted March 16, 2007 Re: Quick Question only if he has a reproductive stat :O haha Nice. Hm, maybe it would get experience for endurace :? LMFAO Quote Link to comment Share on other sites More sharing options...
hunter Posted March 16, 2007 Author Share Posted March 16, 2007 Re: Quick Question ty for the help guys Quote Link to comment Share on other sites More sharing options...
-Genocide- Posted March 17, 2007 Share Posted March 17, 2007 Re: Quick Question if($ir['level']>10) { die("You're over level 10. Go screw a goat."); } add the above to your header.php, it will work perfectly. EDIT: Dangit, lostone beat me to it. His explanation (although less colorful than mine) is better. wont you gain exp for screwing a goat? :mrgreen: So thats why Tim (M5K) does it :O 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.