Raised This Month: $ Target: $400
 0% 

Surf xp


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 07-15-2014 , 04:05   Re: Surf xp
Reply With Quote #2

Look, you have to define maxkevels which are 6. Then set a size tonthe constants with the define (so there won't be anny mismatches). Your while loop is not correct. You have to "while" it like this:
PHP Code:
while(gLvl[Atkr] < MAXLEVELS 1){
      if(
gExp[Atkr] > Levels[gLvl[Atkr]])
             
//Plyer leveled up
      
else break

__________________

Last edited by Flick3rR; 07-15-2014 at 04:11.
Flick3rR is offline
Send a message via Skype™ to Flick3rR
 



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 21:11.


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