Raised This Month: $ Target: $400
 0% 

==, >, <, !=, what else?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alferd
Veteran Member
Join Date: Dec 2019
Location: Iran is Always Eternal
Old 06-15-2020 , 11:54   Re: ==, >, <, !=, what else?
Reply With Quote #1

I didn't read your post well,
But I think you want this code

Code:
if( cLevel == 10 )   { // for level 10 } else if( cLevel == 20 ) { // for level 20 }

Last edited by alferd; 06-15-2020 at 11:55.
alferd is offline
supertrio17
Senior Member
Join Date: May 2020
Location: Serbia
Old 06-15-2020 , 12:02   Re: ==, >, <, !=, what else?
Reply With Quote #2

Quote:
Originally Posted by alferd View Post
I didn't read your post well,
But I think you want this code

Code:
if( cLevel == 10 )   { // for level 10 } else if( cLevel == 20 ) { // for level 20 }
No, I want If a player has bigger value than 10, but smaller than 20, and everything bigger than 20
__________________
Contact! || Discord:
Mr_Boopsy_#2066
supertrio17 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode