SA-MP Forums Archive
Little menu issue.. - 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: Little menu issue.. (/showthread.php?tid=90833)



Little menu issue.. - PKRanger - 10.08.2009

I used TogglePlayerControllable(playerid,0); to disable player movents while begint in a menu, when selecting an menu item the players will be controllable again.

But the only way it wont work is when people press ENTER to close the menu, how can i make sure the player controlls are being turned on after closing the menu after hitting ENTER ?


Re: Little menu issue.. - MadeMan - 10.08.2009

OnPlayerExitedMenu


Re: Little menu issue.. - PKRanger - 10.08.2009

I was searching for such function,
but you found it for me!

Thanks allot