Raised This Month: $ Target: $400
 0% 

Solved new menus bug?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kww
Senior Member
Join Date: Feb 2021
Location: Russia
Old 09-10-2022 , 18:38   Re: new menus bug?
Reply With Quote #1

Workarounds...

What if I build menu like this?
PHP Code:
public Menu_Frontend(id)
{
    new 
menu menu_create("\yWhat da dog doin?""Menu_Backend");
    new 
szLine[17], szData[4];

    for(new 
ieListi++)
    {
        
formatex(szLinecharsmax(szLine), "%i"i);
        
formatex(szDatacharsmax(szData), "#%i"i);
        
menu_additem(menuszLineszData__);
    }

    
menu_addblank(menu0);

    
menu_additem(menu"a""$"__);
    
menu_additem(menu"b""%"__);

    
menu_addblank2(menu); // workaround for shifted Exit option

    
menu_display(idmenu);

__________________
Now working on: Side Weapons (Very lazy, tbh)
Avatar source: https://bit.ly/3BAk19g
Discord: kww#9951

Last edited by kww; 09-10-2022 at 18:41.
kww 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:35.


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