SA-MP Forums Archive
GetPlayerMenu return ? - 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)
+--- Thread: GetPlayerMenu return ? (/showthread.php?tid=287351)



GetPlayerMenu return ? - Cank - 02.10.2011

hey, I'm wondering about the return value of GetPlayerMenu.
according to wiki it should return the ID of the menu the Player is CURRENTLY viewing or 255 if no menu is being viewed. So, when I'm viewing a Menu it returns the ID correctly, but after I exited it (OnPlayerExitedMenu IS called) it still returns the same ID, although I haven't opened any menu.


Re: GetPlayerMenu return ? - Cank - 02.10.2011

ok, thanks.