Raised This Month: $51 Target: $400
 12% 

New AMXX Menu System


Post New Thread Reply   
 
Thread Tools Display Modes
Lure.d
BANNED
Join Date: Dec 2009
Location: Lithuania->USA
Old 07-06-2010 , 20:42   Re: New AMXX Menu System
Reply With Quote #281

Are you sure he know how to put in ML? Just simply forget it.
Lure.d is offline
Send a message via Skype™ to Lure.d
vL.
Senior Member
Join Date: Aug 2009
Location: Estonia
Old 07-06-2010 , 21:32   Re: New AMXX Menu System
Reply With Quote #282

Ohh snap fysiks, I was in a whole other direction ty

Lure.d yes I know the basics of using ML, but like I said I was heading in the wrong direction.
vL. is offline
AngeIII
Senior Member
Join Date: Sep 2007
Location: Latvia
Old 07-16-2010 , 05:23   Re: New AMXX Menu System
Reply With Quote #283

if you want to create

menu with
1..9 options button and button "0" exit you should write This:

example:
PHP Code:
menu_additem(menu"1""1");
menu_additem(menu"2""2");
menu_additem(menu"3""3");
menu_additem(menu"4""4");
menu_additem(menu"5""5");
menu_additem(menu"6""6");
menu_additem(menu"7""7");
menu_additem(menu"8""8");
menu_additem(menu"9""9");
menu_addblank(menu0);
menu_additem(menu"Exit""0");
menu_setprop(menuMPROP_PERPAGE0); 

Last edited by AngeIII; 07-16-2010 at 13:34. Reason: my problem fixed, sorry:}
AngeIII is offline
Send a message via Skype™ to AngeIII
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 07-16-2010 , 08:01   Re: New AMXX Menu System
Reply With Quote #284

What exactly do you want?
__________________
Hi.
Kreation is offline
AngeIII
Senior Member
Join Date: Sep 2007
Location: Latvia
Old 07-16-2010 , 13:33   Re: New AMXX Menu System
Reply With Quote #285

oh.. i'm sorry :\ my code is work perfectly .. I have an error in other function... can delete:}
AngeIII is offline
Send a message via Skype™ to AngeIII
qlail
Member
Join Date: Aug 2009
Old 08-01-2010 , 10:31   Re: New AMXX Menu System
Reply With Quote #286

I've been working on a menu, for my server, and I would like to know the code for a 2nd submenu, like I have the first 1 connected to a submenu, I try to connect the 2nd choice to a 2nd sub menu, anyone mind helping?
qlail is offline
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 08-01-2010 , 11:13   Re: New AMXX Menu System
Reply With Quote #287

Have you read through the tutorial? He has an example of a sub-menu.
RedRobster is offline
AngeIII
Senior Member
Join Date: Sep 2007
Location: Latvia
Old 08-01-2010 , 14:04   Re: New AMXX Menu System
Reply With Quote #288

have a problem with "\d" tag..

PHP Code:
for( new i=1i<10i++ )
{
    
format(str,32,"\d text no%d",i);
    
num_to_str(i,szTempid,9);
    
menu_additem(menustr,szTempid0);

menu showing ok.. but i CAN select this options..

for example in old-style:
on Immunity:
PHP Code:
if (is_user_bot(i) || access(iADMIN_IMMUNITY))
        {
            ++
b
            
            
if (g_coloredMenus)
                
len += format(menuBody[len], 511-len"\d%d. %s^n\w"bname)
            else
                
len += format(menuBody[len], 511-len"#. %s^n"name)
        } 
but how to in new style disable select[if using \d they still grey but it can select..]?
AngeIII is offline
Send a message via Skype™ to AngeIII
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 08-01-2010 , 15:04   Re: New AMXX Menu System
Reply With Quote #289

@ AngeIII

"\d" tag is for change the color only... to disable an item you should use Callbacks... see this thread: http://forums.alliedmods.net/showthr...hlight=disable

Specially Exolent post.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-01-2010 , 16:18   Re: New AMXX Menu System
Reply With Quote #290

Here is Exolent's post in this thread about how to do a callback: http://forums.alliedmods.net/showpos...0&postcount=95

The example is for disabling an item when the user is dead.
__________________
fysiks is online now
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:28.


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