Raised This Month: $ Target: $400
 0% 

Surf xp


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-15-2014 , 06:12   Re: Surf xp
Reply With Quote #3

Quote:
Originally Posted by Flick3rR View Post
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

Why hardcode it ? Use sizeof.....

Last edited by HamletEagle; 07-15-2014 at 06:13.
HamletEagle is offline
 



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