Raised This Month: $ Target: $400
 0% 

menu problems with xp based plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
raa
Senior Member
Join Date: Oct 2005
Old 02-13-2007 , 03:06   Re: menu problems with xp based plugin
Reply With Quote #2

I noob but thought I would post cuz I had same problem

for your function here
Code:
stock ChooseRace(id)     {     new menu[192]     new keys = MENU_KEY_0|MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4             format(menu, 191, "MHO Mod: Choose Race^n^n1. Mutant^n2. Alien^n3. Predator^n4. Machine^n^n0. Exit")     show_menu(id, keys, menu, -1, "menu_ChooseRace")         return PLUGIN_CONTINUE }

replace with

Code:
stock ChooseRace(id)     {     new menu[192]     new keys = MENU_KEY_0|MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4             format(menu, 191, "MHO Mod: Choose Race^n^n1. Mutant^n2. Alien^n3. Predator^n4. Machine^n^n0. Exit")     keys = (1<<0)|(1<<1|(2<<1|(3<<1|(4<<1)         show_menu(id, keys, menu, -1, "menu_ChooseRace")         return PLUGIN_CONTINUE }

if that doesn't work

use
Code:
keys = (1<<0)|(1<<1|(1<<2|(1<<3|(1<<4)

If that does'nt get you going post back and I'll look into it further. Or someone who is way more experienced then me will correct me I'm sure.
__________________
raa 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 00:43.


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