Raised This Month: $ Target: $400
 0% 

Comment in menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shouldercannon
BANNED
Join Date: Sep 2009
Location: Russia, Penza
Old 12-28-2010 , 03:34   Comment in menu
Reply With Quote #1

I want to put comment in menu as show in screen. There is a way, but it is not suitable. Item is not active, but has a number.
PHP Code:
AddMenuItem(menu"_""My comment"DISABLED); 
Attached Thumbnails
Click image for larger version

Name:	menu.gif
Views:	96
Size:	19.7 KB
ID:	79756  
Shouldercannon is offline
Send a message via ICQ to Shouldercannon
FaTony
Veteran Member
Join Date: Aug 2008
Old 12-28-2010 , 04:40   Re: Comment in menu
Reply With Quote #2

Check ZR sources.
__________________
FaTony is offline
Shouldercannon
BANNED
Join Date: Sep 2009
Location: Russia, Penza
Old 01-11-2011 , 07:27   Re: Comment in menu
Reply With Quote #3

Work only
PHP Code:
DrawPanelItem(panel""ITEMDRAW_RAWLINE); 
on Panel, On Menu not work.
Shouldercannon is offline
Send a message via ICQ to Shouldercannon
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 01-11-2011 , 10:27   Re: Comment in menu
Reply With Quote #4

The menus use a simple "\n" to start a new option. So just doing
PHP Code:
AddMenuItem(menu"fast""Fast - $3000\nHP 2000 | Speed 1.4"); 
should do it iirc.
__________________
Peace-Maker is offline
Shouldercannon
BANNED
Join Date: Sep 2009
Location: Russia, Penza
Old 01-11-2011 , 12:34   Re: Comment in menu
Reply With Quote #5

Thanks
Shouldercannon is offline
Send a message via ICQ to Shouldercannon
Reply



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 06:32.


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