Raised This Month: $ Target: $400
 0% 

Weird menu bug


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
zacky
Senior Member
Join Date: Mar 2008
Location: Sweden
Old 06-08-2009 , 17:29   Weird menu bug
Reply With Quote #1

Hi every1, it becomes an weird menu bug in my plugin, and i cant find an error.

This is how it looks in-game:
[IMG]http://img37.**************/img37/6712/menubugr.jpg[/IMG]

And heres the code:
PHP Code:
new mPsArmorShop menu_create("\rArmor \wShop""handlePsArmorShop");

new 
item[64];
formatex(item63"100 Armor on spawn \r(You have this all the time) \y- \r%d \wpoints"get_pcvar_num(gCvarAlwaysHundredArmorCost));
menu_additem(mPsArmorShopitem"1");

new 
item1[64];
formatex(item163"10 Extra Armor \r(CT) \y- \r%d \wpoints"get_pcvar_num(gCvarCtArmorOneCost));
menu_additem(mPsArmorShopitem1"2");

new 
item2[64];
formatex(item263"20 Extra Armor \r(CT) \y- \r%d \wpoints"get_pcvar_num(gCvarCtArmorTwoCost));
menu_additem(mPsArmorShopitem2"3");

new 
item3[64];
formatex(item363"30 Extra Armor \r(CT) \y- \r%d \wpoints"get_pcvar_num(gCvarCtArmorThreeCost));
menu_additem(mPsArmorShopitem3"4");

new 
item4[64];
formatex(item463"40 Extra Armor \r(CT) \y- \r%d \wpoints"get_pcvar_num(gCvarCtArmorFourCost));
menu_additem(mPsArmorShopitem4"5");

new 
item5[64];
formatex(item563"50 Extra Armor \r(CT) \y- \r%d \wpoints^n"get_pcvar_num(gCvarCtArmorFiveCost));
menu_additem(mPsArmorShopitem5"6");

new 
item6[64];
formatex(item663"10 Extra Armor \r(T) \y- \r%d \wpoints"get_pcvar_num(gCvarTArmorOneCost));
menu_additem(mPsArmorShopitem6"7");

new 
item7[64];
formatex(item763"20 Extra Armor \r(T) \y- \r%d \wpoints"get_pcvar_num(gCvarTArmorTwoCost));
menu_additem(mPsArmorShopitem7"8");

new 
item8[64];
formatex(item863"30 Extra Armor \r(T) \y- \r%d \wpoints"get_pcvar_num(gCvarTArmorThreeCost));
menu_additem(mPsArmorShopitem8"9");

new 
item9[64];
formatex(item963"40 Extra Armor \r(T) \y- \r%d \wpoints"get_pcvar_num(gCvarTArmorFourCost));
menu_additem(mPsArmorShopitem9"10");

new 
item10[64];
formatex(item1063"50 Extra Armor \r(T) \y- \r%d \wpoints"get_pcvar_num(gCvarTArmorFiveCost));
menu_additem(mPsArmorShopitem10"11");

menu_setprop(mPsArmorShopMPROP_EXITMEXIT_ALL);
menu_setprop(mPsArmorShopMPROP_EXITNAME"Close");
menu_display(idmPsArmorShop0); 
Thanks
-zacky
zacky is offline
Send a message via Skype™ to zacky
 



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 13:56.


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