Raised This Month: $ Target: $400
 0% 

How to add color to menu?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Swe-Death
Member
Join Date: Nov 2004
Location: Sweden
Old 07-10-2006 , 12:43   How to add color to menu?
Reply With Quote #1

nLen += format( szMenuBody[nLen], 255-nLen, "^n\ text" )


((How to add color to menu/text??))

Last edited by Swe-Death; 07-10-2006 at 13:41.
Swe-Death is offline
Send a message via MSN to Swe-Death
shino
Senior Member
Join Date: May 2006
Old 07-10-2006 , 13:40   Re: How to add color to menu?
Reply With Quote #2

i don't think you can...(based on what i saw to this day)
__________________


+karma if i am helpful
shino is offline
Swe-Death
Member
Join Date: Nov 2004
Location: Sweden
Old 07-10-2006 , 13:43   Re: How to add color to menu?
Reply With Quote #3

mmmm ok.......
Swe-Death is offline
Send a message via MSN to Swe-Death
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 07-10-2006 , 14:25   Re: How to add color to menu?
Reply With Quote #4

you can use colors, but i forgot the code
use amxx-studio it has an colormenu generator
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-10-2006 , 15:34   Re: How to add color to menu?
Reply With Quote #5

Code:
show_menu(id, Keys, "\rhey^n\whey^n\yhey^n", -1, "")
typing \rMESSAGE will make it redtyping \wMESSAGE will make it white
typing \yMESSAGE will make it yellow
typing \dMESSAGE will make it gray, and disabled
this works for the old style menue dont know about new style
EDIT: wow, i got -karma for this post
__________________
DO NOT PM me about avp mod.

Last edited by Rolnaaba; 07-10-2006 at 16:25.
Rolnaaba is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-10-2006 , 16:24   Re: How to add color to menu?
Reply With Quote #6

Also, \R will align it to the right. Note the upper-case "R."
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
KCE
Senior Member
Join Date: Jan 2005
Location: Los Angeles, CA
Old 07-10-2006 , 16:44   Re: How to add color to menu?
Reply With Quote #7

One more thing (amxmisc):

colored_menus( ) - Checks if the current mod supports colored menus.
__________________

My 3D Art: http://k-c-e.deviantart.com/

[img]http://img213.**************/img213/7132/userbar152416mp2.gif[/img]
[img]http://img65.**************/img65/5606/userbar152433ie5.gif[/img]
[img]http://img223.**************/img223/7576/userbar152440yk6.gif[/img]
KCE is offline
Swe-Death
Member
Join Date: Nov 2004
Location: Sweden
Old 07-10-2006 , 16:45   Re: How to add color to menu?
Reply With Quote #8

ok.... thx i give you 1+ Karma
Swe-Death is offline
Send a message via MSN to Swe-Death
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 08:00.


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