Raised This Month: $ Target: $400
 0% 

(Help) item=MENU_EXIT


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 06-07-2014 , 13:44   (Help) item=MENU_EXIT
Reply With Quote #1

Fixed

Last edited by Fuck For Fun; 07-06-2014 at 12:51. Reason: Solved
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-07-2014 , 13:57   Re: item=MENU_EXIT
Reply With Quote #2

I don't see any menu_display() commands that could possible cause this. Attach your whole .sma file.
__________________
fysiks is offline
Old 06-07-2014, 14:17
Fuck For Fun
This message has been deleted by Fuck For Fun.
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 06-09-2014 , 02:49   Re: item=MENU_EXIT
Reply With Quote #3

Quote:
Originally Posted by Fuck For Fun View Post
fixed

Join Date: Nov 2013

And you still acting like a 5 year old kid by blanking out your posts.
For Jesus sake stop doing this.
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then
devilicioux is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 06-09-2014 , 03:39   Re: item=MENU_EXIT
Reply With Quote #4

Quote:
Originally Posted by devilicioux View Post
Join Date: Nov 2013

And you still acting like a 5 year old kid by blanking out your posts.
For Jesus sake stop doing this.
What?

If you have any problem, my pm is open for you...

If you know why i get error so answer, stop posting like a 5 year old kid.

Last edited by Fuck For Fun; 06-09-2014 at 03:40.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-09-2014 , 03:41   Re: item=MENU_EXIT
Reply With Quote #5

Quote:
Originally Posted by Fuck For Fun View Post
What?
https://forums.alliedmods.net/misc.php?do=showrules
Quote:
Do not blank out posts - if you solve your problem post the solution for others to find.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 06-09-2014 , 07:01   Re: item=MENU_EXIT
Reply With Quote #6

Quote:
Originally Posted by YamiKaitou View Post
Kk, read ;)
Not fixed yet, still geting the error...
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 06-09-2014 , 07:56   Re: (Help) item=MENU_EXIT
Reply With Quote #7

Code:
static cell AMX_NATIVE_CALL menu_display(AMX *amx, cell *params) {     GETMENU(params[2]);     int player = params[1];     int page = params[3];     CPlayer* pPlayer = GET_PLAYER_POINTER_I(player);     /* If the stupid handler keeps drawing menus,      * We need to keep cancelling them.  But we put in a quick infinite loop      * counter to prevent this from going nuts.      */     int menu;     int loops = 0;     while ((menu = pPlayer->newmenu) >= 0)     {         if ((size_t)menu >= g_NewMenus.size() || !g_NewMenus[menu])         {             break;         }         Menu *pOther = g_NewMenus[menu];         pOther->Close(pPlayer->index);         /* Infinite loop counter */         if (++loops >= 10)         {             LogError(amx, AMX_ERR_NATIVE, "Plugin called menu_display when item=MENU_EXIT");             return 0;         }     }     int time = -1;     if (params[0] / sizeof(cell) >= 4)         time = params[4];     if (time < 0)         pPlayer->menuexpire = INFINITE;     else         pPlayer->menuexpire = gpGlobals->time + static_cast<float>(time);     return pMenu->Display(player, page); }

I'm not really sure what this means, but it seems like your other plugins are causing leaks because they're not destroying menus properly. Try to disable all of your plugins that add menus to the game, then try again.
Backstabnoob 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 09:44.


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