SA-MP Forums Archive
[Help] Player Menu - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] Player Menu (/showthread.php?tid=71679)



[Help] Player Menu - Lastman - 03.04.2009

[font=courier new] I have made player menu for buying clothes. Also i have added freeze and unfreeze for it. So when someone opens the menu they get freezed and when their selection is done they get unfreezed. But if they press ENTER instead of selecting any option they are still freezed. I want them to get unfreezed if they leave menu without any selection, that is when they press enter. Any solution ?

-Lastman


Re: [Help] Player Menu - phoenix0120 - 03.04.2009

public OnPlayerExitedMenu(playerid)
{
TogglePlayerControllable(playerid, 1);
return 1;
}
doesn't work ?


Re: [Help] Player Menu - Lastman - 03.04.2009

Quote:
Originally Posted by phoenix0120
public OnPlayerExitedMenu(playerid)
{
TogglePlayerControllable(playerid, 1);
return 1;
}
doesn't work ?
I never knew there was menu exit signal as i am new, thankyou very much