SA-MP Forums Archive
OnPlayerRollOverMenuItem - 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: OnPlayerRollOverMenuItem (/showthread.php?tid=164649)



OnPlayerRollOverMenuItem - Paranoja - 01.08.2010

Is there something like the callback I gave you above? What I need is simply change the camera view when the player presses arrow down key. Thanks.


Re: OnPlayerRollOverMenuItem - ikey07 - 01.08.2010

GetPlayerMenu

if Menu == Your menu

get players keys

if keys == UP/DOWn set player camera


Re: OnPlayerRollOverMenuItem - Paranoja - 01.08.2010

Yeah, I thought of that, but if a player is on the top of the list and he presses UP, then I don't need the player camera to change.