Blade Maker Posted October 27, 2010 Posted October 27, 2010 How can I do the following: if($level <= $urlevel by 50){ } Something like that, I want it to count like if the other players level is higher then your level by 50 or something. Quote
W3Theory || Peter Posted October 27, 2010 Posted October 27, 2010 if($level > ($urlevel+50)){ } I am guessing? As you pretty much had it.. Quote
Blade Maker Posted October 27, 2010 Author Posted October 27, 2010 I will try it thanks, got no sleep really so I cannot think clear today. Quote
W3Theory || Peter Posted October 27, 2010 Posted October 27, 2010 I will try it thanks, got no sleep really so I cannot think clear today.It all depends though what your variables are, that is the format. Just not sure what variables you have. As it might be $ir['level'] for your own level and then like $r['level'] depending what you have classified. 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.