Raised This Month: $ Target: $400
 0% 

Class Specific Menus


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 11-06-2005 , 23:10  
Reply With Quote #2

for your huge array of levels i would make a small function and an equation in it which returns the xp. but thats me.

Anyways. proly somewhere inside your plugin u will end up adding a +1 level and then call the menu. If you dont add +1 level and just go by XP i suggest proly having something like oldXPLevel[33]. and just compare current one to oldXP.

what i would do is something like this:

instead of ur huge level array i do this
Code:
public getXP(level) {      new xp = (2 << (level - 2)) * 100;      return xp; }
Freecode 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 23:42.


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