hunter Posted March 16, 2007 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
seanybob Posted March 16, 2007 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
kronow Posted March 16, 2007 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
seanybob Posted March 16, 2007 Posted March 16, 2007 Re: Quick Question only if he has a reproductive stat Quote
Vorlen Posted March 16, 2007 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
hunter Posted March 16, 2007 Author Posted March 16, 2007 Re: Quick Question ty for the help guys Quote
-Genocide- Posted March 17, 2007 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
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.