Problem with TogglePlayerControllable...
#8

Maybe try this:

When you're showing other menu available from other:
pawn Код:
SetPVarInt(playerid, "OnPlayerExitedMenu_Not", 1);
pawn Код:
public OnPlayerExitedMenu(playerid)
{
    if(GetPVarInt(playerid, "OnPlayerExitedMenu_Not") != 1)
    {
        TogglePlayerControllable(playerid,1);
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)