Raised This Month: $ Target: $400
 0% 

Menu custom


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
InteX01
Senior Member
Join Date: Jan 2017
Old 06-27-2017 , 08:26   Menu custom
Reply With Quote #1

PHP Code:
menu_additem(menu"%i $"ostavi_slot1); 
IS it possible to make something like that ? So menu look can be changed by cvar ?
InteX01 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-27-2017 , 09:29   Re: Menu custom
Reply With Quote #2

Format a string and use that in menu_additem.
__________________

Last edited by HamletEagle; 06-27-2017 at 09:29.
HamletEagle is offline
Craxor
Veteran Member
Join Date: Jan 2016
Location: Romania
Old 06-27-2017 , 09:47   Re: Menu custom
Reply With Quote #3

As Hamlet say:
PHP Code:
new buffer[64];
formtexbuffercharsmax(buffer), "%i $"octavi_slot1 );

menu_additemmenubuffer""); 
__________________
Project: Among Us

Last edited by Craxor; 06-27-2017 at 09:47.
Craxor is offline
Send a message via ICQ to Craxor
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 23:11.


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