Raised This Month: $ Target: $400
 0% 

How to make the shop menu transparent


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
caked
Member
Join Date: Dec 2012
Old 08-20-2013 , 06:49   Re: How to make the shop menu transparent
Reply With Quote #1

Thanks it worked
caked is offline
Anti
Senior Member
Join Date: Jul 2012
Location: sky
Old 08-20-2013 , 18:16   Re: How to make the shop menu transparent
Reply With Quote #2

you can use also format or formatex:

PHP Code:
func(id)
{
   new 
Caract;[70//70 is number of caracts of the item name
   
new menu menu_create("Shop Menu""handle")
   
formatex(CaractcharsmaxCaract), "%s Item"cs_get_user_money(id) >= Item_Cost"\w" "\d" )
   
menu_additem(menuCaract"1")


Last edited by Anti; 08-20-2013 at 18:17.
Anti is offline
Send a message via Skype™ to Anti
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 08-20-2013 , 19:53   Re: How to make the shop menu transparent
Reply With Quote #3

Quote:
Originally Posted by Anti View Post
you can use also format or formatex:

PHP Code:
func(id)
{
   new 
Caract;[70//70 is number of caracts of the item name
   
new menu menu_create("Shop Menu""handle")
   
formatex(CaractcharsmaxCaract), "%s Item"cs_get_user_money(id) >= Item_Cost"\w" "\d" )
   
menu_additem(menuCaract"1")

that will make the item grey. but wont disable the item from menu.
__________________
Blizzard_87 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 15:54.


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