Yoona Posted March 10, 2014 Posted March 10, 2014 (edited) If base level is 150 All stats + 5 i did " if(readparam(BaseLevel)>=150) { bonus bAllStats,1; } " it didn't work out... Solve <3 Instead of >=150 it should be <=150 ! Lol! Edited March 10, 2014 by Yoona Quote
Pneuma Posted March 11, 2014 Posted March 11, 2014 (edited) Actually, this is the script she wanted if(BaseLevel >= 50 && BaseLevel <= 149) { bonus bAllStats,70; } else {if(BaseLevel >= 150) { bonus bAllStats,5; }} She just needs to change the >= 150 bonus stats to what she wantsThanks for this request Yoona. I'm in need to quickly get my scripting skills back up and learning stuff like this will come in handy when I start making my own server. Edited March 11, 2014 by DuskPneuma 1 Quote
Pneuma Posted March 10, 2014 Posted March 10, 2014 If base level is 150 All stats + 5 i did " if(readparam(BaseLevel)>=150) { bonus bAllStats,1; } " it didn't work out... Solve <3 Instead of >=150 it should be <=150 ! Lol! Just a reminder Yoona; If you use >= that's checking if your BaseLevel is equal to or greater than 150 Quote
Yoona Posted March 10, 2014 Author Posted March 10, 2014 If base level is 150 All stats + 5 i did " if(readparam(BaseLevel)>=150) { bonus bAllStats,1; } " it didn't work out... Solve <3 Instead of >=150 it should be <=150 ! Lol! Just a reminder Yoona; If you use >= that's checking if your BaseLevel is equal to or greater than 150 Thanks for the reply. but what i want is when A player reached level 50 Additional 70 All Stats but when the player Reach Level 150 -200 All stats how can i do that? it makes me confused... Quote
Pneuma Posted March 10, 2014 Posted March 10, 2014 (edited) If base level is 150 All stats + 5 i did " if(readparam(BaseLevel)>=150) { bonus bAllStats,1; } " it didn't work out... Solve <3 Instead of >=150 it should be <=150 ! Lol! Just a reminder Yoona; If you use >= that's checking if your BaseLevel is equal to or greater than 150 Thanks for the reply. but what i want is when A player reached level 50 Additional 70 All Stats but when the player Reach Level 150 -200 All stats how can i do that? it makes me confused... Hmm...I believe the answer is very easy but I'm unsure how to check 2 variables for the same effect; If I remember there IS a way to check for it I think like... if(readparam(BaseLevel)>= 50 && readparam(BaseLevel)<=149)) { bonus bAllStats,70; }; if(readparam(BaseLevel) >= 150){ bonus bAllStats,1;} Edited March 10, 2014 by DuskPneuma Quote
Pneuma Posted March 11, 2014 Posted March 11, 2014 It make's my server crash I'll try to create the script on my test server Quote
sandbox Posted March 11, 2014 Posted March 11, 2014 If base level is 150 All stats + 5 i did " if(readparam(BaseLevel)>=150) { bonus bAllStats,1; } " it didn't work out... Solve <3 Instead of >=150 it should be <=150 ! Lol! Just a reminder Yoona; If you use >= that's checking if your BaseLevel is equal to or greater than 150 Thanks for the reply. but what i want is when A player reached level 50 Additional 70 All Stats but when the player Reach Level 150 -200 All stats how can i do that? it makes me confused... if(BaseLevel >= 50) { bonus bAllStats,50; } if(BaseLevel >= 150 && BaseLevel <= 200) { bonus bAllStats,BaseLevel-149; } Quote
Yoona Posted March 11, 2014 Author Posted March 11, 2014 Daebak! ( Awesome! ) thanks @sandbox & @DuskPneuma! Quote
Question
Yoona
If base level is 150 All stats + 5
i did " if(readparam(BaseLevel)>=150) { bonus bAllStats,1; } "
it didn't work out...
Solve <3 Instead of >=150 it should be <=150 ! Lol!
Edited by Yoona8 answers to this question
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.