Raised This Month: $ Target: $400
 0% 

How To Change Color Options Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yoni279
Member
Join Date: Feb 2010
Old 08-07-2012 , 15:48   How To Change Color Options Menu
Reply With Quote #1

picture:

thx for help
yoni279 is offline
KillerMasa
Senior Member
Join Date: May 2012
Old 08-07-2012 , 16:16   Re: How To Change Color Options Menu
Reply With Quote #2

It would be so easy if you show us the .sma file.
KillerMasa is offline
yoni279
Member
Join Date: Feb 2010
Old 08-07-2012 , 16:17   Re: How To Change Color Options Menu
Reply With Quote #3

Quote:
Originally Posted by KillerMasa View Post
It would be so easy if you show us the .sma file.
PHP Code:
public shopmenu(id)
{
    new 
szText[555 char]
    new 
points playerpoints[id]
    
    
formatex(szTextcharsmax(szText), "[\yHNR Shop\w] What would you like to buy?^nYour Points: \y%d"points)
    new 
shopmenu menu_create(szText"sub_shopmenu")
        
    
formatex(szTextcharsmax(szText), "\yGrenades Menu")
    
menu_additem(shopmenuszText"1"0)
        
    
formatex(szTextcharsmax(szText), "\yWeapons Menu")
    
menu_additem(shopmenuszText"2" 0)
        
    
formatex(szTextcharsmax(szText), "\yPower Menu")
    
menu_additem(shopmenuszText"3"0)

    
formatex(szTextcharsmax(szText), "\wPlayers Points")
    
menu_additem(shopmenuszText"4"0)
        
        
    
menu_setprop(shopmenuMPROP_EXIT MEXIT_ALL);
    
menu_display(idshopmenu0);

yoni279 is offline
KillerMasa
Senior Member
Join Date: May 2012
Old 08-07-2012 , 16:26   Re: How To Change Color Options Menu
Reply With Quote #4

PHP Code:
    formatex(szTextcharsmax(szText), "\wPlayers Points"
    
menu_additem(shopmenuszText"4"0


PHP Code:
    formatex(szTextcharsmax(szText), "\yPlayers Points"
    
menu_additem(shopmenuszText"4"0
KillerMasa is offline
yoni279
Member
Join Date: Feb 2010
Old 08-07-2012 , 16:37   Re: How To Change Color Options Menu
Reply With Quote #5

Quote:
Originally Posted by KillerMasa View Post
PHP Code:
    formatex(szTextcharsmax(szText), "\wPlayers Points"
    
menu_additem(shopmenuszText"4"0


PHP Code:
    formatex(szTextcharsmax(szText), "\yPlayers Points"
    
menu_additem(shopmenuszText"4"0
no i dont wanna change the "player points" to yellow i wanna change "number 4" to yellow
see the picture again

Last edited by yoni279; 08-07-2012 at 16:38.
yoni279 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-07-2012 , 16:39   Re: How To Change Color Options Menu
Reply With Quote #6

You will need to switch to the old menu style then
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
yoni279
Member
Join Date: Feb 2010
Old 08-07-2012 , 16:41   Re: How To Change Color Options Menu
Reply With Quote #7

Quote:
Originally Posted by YamiKaitou View Post
You will need to switch to the old menu style then
ok change it so to yellow:
PHP Code:
public primgun_menu(id)
{    
    if(!
IsPlayer(id))
        return 
PLUGIN_HANDLED
        
    
new primgunmenu menu_create("\yChoose your weapon:""sub_primgun_menu")

    
menu_additem(primgunmenu"\wM4a1""1"0);
    
menu_additem(primgunmenu"\wAk 47""2"0);
    
menu_additem(primgunmenu"\wScout""3"0);
    
menu_additem(primgunmenu"\wAwp""4"0);
    
menu_additem(primgunmenu"\wMp5""5"0);
        
    
menu_setprop(primgunmenuMPROP_EXITMEXIT_ALL);
    
menu_display(idprimgunmenu0);
    return 
PLUGIN_HANDLED

yoni279 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-07-2012 , 16:43   Re: How To Change Color Options Menu
Reply With Quote #8

In order to modify the color of the numbers, you must use the old style. You cannot do it with the new style
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
yoni279
Member
Join Date: Feb 2010
Old 08-07-2012 , 16:45   Re: How To Change Color Options Menu
Reply With Quote #9

Quote:
Originally Posted by YamiKaitou View Post
In order to modify the color of the numbers, you must use the old style. You cannot do it with the new style
you can send me demo to old style menu?
yoni279 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-07-2012 , 16:51   Re: How To Change Color Options Menu
Reply With Quote #10

http://wiki.alliedmods.net/Advanced_...X_Mod_X)#Menus
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
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 16:41.


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