Raised This Month: $ Target: $400
 0% 

Weird Run-Time-Error with Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 09-05-2013 , 13:04   Weird Run-Time-Error with Menu
Reply With Quote #1

Hello guys,

I am getting this strange run time error, which I cant get fixxed. I have never seen it before and my research on the forums didnt help at all.

This is it:

Quote:
L 09/05/2013 - 16:40:14: Plugin called menu_display when item=MENU_EXIT
L 09/05/2013 - 16:40:14: [AMXX] Run time error 10 (plugin "lastrequest.amxx") (native "menu_display")
Maybe someone can tell me, what this error is and when it occours?
mottzi is offline
Send a message via MSN to mottzi
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 09-05-2013 , 14:22   Re: Weird Run-Time-Error with Menu
Reply With Quote #2

PHP Code:
public menu_handleridmenuitem )
{
    if( 
item == MENU_EXIT )
    {
        
menu_displayidmenu // <-
        
return PLUGIN_HANDLED;
    }
    
//

->

PHP Code:
public menu_handleridmenuitem )
{
    if( 
item == MENU_EXIT )
    {
        
menu_destroymenu ); // <-
        
return PLUGIN_HANDLED;
    }
    
//

__________________



dark_style 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 19:13.


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