10.07.2009, 10:08
I need something like a callback when you exit menu.
I have maded myself a carshop, and since i pickup the thing which stands for opening the menu, also it automaticaly freezes my character (TogglePlayerControllable(playerid,0).
If i select any of rows of the menu, everything is fine character gets unfreezed, but if i press enter, the menu disapears and my character is left freezed.. So is there any callback when a person exits the menu (with ENTER button) to do unfreeze? Thanks for your answers.
I have maded myself a carshop, and since i pickup the thing which stands for opening the menu, also it automaticaly freezes my character (TogglePlayerControllable(playerid,0).
If i select any of rows of the menu, everything is fine character gets unfreezed, but if i press enter, the menu disapears and my character is left freezed.. So is there any callback when a person exits the menu (with ENTER button) to do unfreeze? Thanks for your answers.