Raised This Month: $ Target: $400
 0% 

Solved Menu malfunction


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 07-21-2019 , 07:54   Menu malfunction
Reply With Quote #1

Talking about the row below 1.
There is a t4shot

Code:
new g_rgLR[eLastRequest] = { GAME_NONE, 0, 0 };
I have a kind of BUG, I do not find the problem here in the code:
PHP Code:
ShowMenuS4S(this)
{
    new 
iMenuszBuffer[64], iLen;

    
formatex(szBuffercharsmax(szBuffer), "\r[4Honor`] \d- \wLR \yShot4Shot \wMenu");
    
iMenu menu_create(szBuffer"MenuS4S");

    
iLen copy(szBuffercharsmax(szBuffer), "Guard: \y");

    if (!
g_rgLR[LR_GUARD])
        
iLen += copy(szBuffer[iLen], charsmax(szBuffer) - iLen"Not yet selected");
    else
        
iLen += formatex(szBuffer[iLen], charsmax(szBuffer) - iLen"%n"g_rgLR[LR_GUARD]);

    
szBuffer[iLen] = '^n';

    
menu_additem(iMenuszBuffer);

    
formatex(szBuffercharsmax(szBuffer), "Health: \d%d"g_iHealthMAX_HEALTH);
    
menu_additem(iMenuszBuffer);

    
formatex(szBuffercharsmax(szBuffer), "Weapon: \y%s"g_szCSWeaponNames[g_iWeaponId]);
    
menu_additem(iMenuszBuffer);

    
AddMenuSettings(iMenu);

    if (!
g_rgLR[LR_GUARD])
        
copy(szBuffercharsmax(szBuffer), "\dStart");
    else
        
copy(szBuffercharsmax(szBuffer), "Start");

    
menu_additem(iMenuszBuffer);

    
menu_display(thisiMenu);


Last edited by Fuck For Fun; 07-22-2019 at 20:05.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
 



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 17:23.


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