Blade Maker Posted October 27, 2010 Share 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 Link to comment Share on other sites More sharing options...
W3Theory || Peter Posted October 27, 2010 Share Posted October 27, 2010 if($level > ($urlevel+50)){ } I am guessing? As you pretty much had it.. Quote Link to comment Share on other sites More sharing options...
Blade Maker Posted October 27, 2010 Author Share Posted October 27, 2010 I will try it thanks, got no sleep really so I cannot think clear today. Quote Link to comment Share on other sites More sharing options...
W3Theory || Peter Posted October 27, 2010 Share 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 Link to comment Share on other sites More sharing options...
Blade Maker Posted October 27, 2010 Author Share Posted October 27, 2010 Thanks it worked. 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.