Creating 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: Creating Menu (
/showthread.php?tid=109221)
Creating Menu -
RedFusion - 18.11.2009
Hey everybody!
I have just started out with a server, and, i got some problems with creating a menu, i have created a teleport menu in a filterscript, and, when i open this menu ingame, the player can walk around at the same time as i choose an option..
how do i get the player to "get stuck" when i enter a menu?
and i hope i posted this topic in the right section..

Thanks / Red
Re: Creating Menu -
[XST]O_x - 18.11.2009
If you have a command for the menu like /TeleportsMenu,After "ShowMenuForPlayer" Add "TogglePlayerControllable(playerid,0);"
And under "OnPlayerExitedMenu" add "TogglePlayerControllable(playerid,1);"
Re: Creating Menu -
RedFusion - 18.11.2009
Okay big thanks! appreciate it!