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

[CS:GO] error MenuListHandler !!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 03-17-2018 , 08:45   [CS:GO] error MenuListHandler !!
Reply With Quote #1

hi guys!!

how to i fix this problem??
error:
HTML Code:
L 03/17/2018 - 16:07:46: [SM] Blaming: admin_list.smx
L 03/17/2018 - 16:07:46: [SM] Call stack trace:
L 03/17/2018 - 16:07:46: [SM]   [0] CloseHandle
L 03/17/2018 - 16:07:46: [SM]   [1] Line 80, admin_list.sp::MenuListHandler
cod:
PHP Code:
public Action ShowAdminsOnlineMenu(clientargs)
{
  
decl String:AdminName[MAX_NAME_LENGTH];
  
AdminListMenu CreateMenu(MenuListHandler);
  
SetMenuTitle(AdminListMenu"Admins Online:");
  for(new 
1<= GetMaxClients(); i++)
    {
      if(
IsClientInGame(i))
        {
          new 
AdminId:AdminID GetUserAdmin(i);
          if(
AdminID != INVALID_ADMIN_ID)
            {
              
GetClientName(iAdminNamesizeof(AdminName));
              
AddMenuItem(AdminListMenuAdminNameAdminName);
            }
        } 
    }
  
SetMenuExitButton(AdminListMenutrue);
  
DisplayMenu(AdminListMenuclient15);
  return 
Plugin_Handled;
}


public 
int MenuListHandler(Menu menuMenuAction actionint param1int param2)
{
    if (
action == MenuAction_Select)
    {
        
delete menu;
    }
    else if (
action == MenuAction_Cancel)
    {
        
delete menu;
    }
    else if (
action == MenuAction_End)
    {
        
delete menu;  //line 80
    
}


Last edited by Dr.Mohammad; 03-17-2018 at 08:46.
Dr.Mohammad is offline
 



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 04:09.


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