Menu problem
#4

And the crash happens exactly when you respawn or when you select an item on the menu?

Edit:

Ok, the problem is that you're creating the menu once in OnGameModeInit and when the player selects case 3 which is to exit the menu, you fully destroy the menu without creating it again. Therefore, you try to display a menu that does not exist when the player respawns.

Change all your DestoryMenu to HideMenuForPlayer. As in change:
pawn Код:
DestroyMenu(Airport);
To:
pawn Код:
HideMenuForPlayer(Airport, playerid);
Reply


Messages In This Thread
Menu problem - by GermanFighter - 27.03.2009, 15:20
Re: Menu problem - by Pyrokid - 27.03.2009, 20:04
Re: Menu problem - by GermanFighter - 27.03.2009, 20:38
Re: Menu problem - by Pyrokid - 27.03.2009, 20:45
Re: Menu problem - by GermanFighter - 28.03.2009, 04:59
Re: Menu problem - by GermanFighter - 29.03.2009, 05:53

Forum Jump:


Users browsing this thread: 1 Guest(s)