Raised This Month: $ Target: $400
 0% 

Class Specific Menus


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 11-06-2005 , 22:46   Class Specific Menus
Reply With Quote #1

Trying to make Upgrade menus pop up for a player when they reacha certain level. Instead of doing it the super hard/long way by saying if their lvl = that show menu.

How can I set it so the menu pops up, when they gain a level?

Some of my defines and such:

Code:
new PlayerClass[33] new PlayerXP[33] new PlayerLevel[33] new const CLASSES[MAXCLASSES][] = {     "None",     "Tank",     "Swift",     "Shadow",     "Healer",     "Shinobi",     "Seer" } new msgtext new const LEVELS[20] = {     100,       200,       400,       800,     1600,     3200,     6400,     12800,     25600,     51200,     64000,     76800,     89600,     102400,     115200,     128000,     140800,     153600,     166400,     179200 }

Code:
    register_menucmd(register_menuid("menu_ChooseUpgrades"),1023,"DoChooseUpgrades");
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
 


Thread Tools
Display Modes

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