Raised This Month: $ Target: $400
 0% 

Strange Menu Error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 02-28-2005 , 08:30  
Reply With Quote #4

Code:
public client_connect(id) {     new menu[192]     new keys = MENU_KEY_0|MENU_KEY_1|MENU_KEY_2     format(menu, 191, "*********^n^n1. *******^n2. *****^n3. ****")     show_menu(id, key, menu)     return PLUGIN_HANDLED }

Should Be:

Code:
public client_connect(id) {     new menu[192]     new keys = MENU_KEY_0|MENU_KEY_1|MENU_KEY_2     format(menu, 191, "*********^n^n1. *******^n2. *****^n3. ****")     show_menu(id, keys, menu)     return PLUGIN_HANDLED }

The variable key should be keys...
xeroblood is offline
Send a message via MSN to xeroblood
 



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 14:02.


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