SA-MP Forums Archive
Add a Command OnPlayerSelectedMenuRow [HELP] - 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: Add a Command OnPlayerSelectedMenuRow [HELP] (/showthread.php?tid=254661)



Add a Command OnPlayerSelectedMenuRow [HELP] - Gauloises - 12.05.2011

Hello There.
Like the Title says,is it possible to set a Command on Player select a menu row?


Re: Add a Command OnPlayerSelectedMenuRow [HELP] - Backwardsman97 - 12.05.2011

You can just call OnPlayerCommandText like this.

pawn Код:
OnPlayerCommandText(playerid,"/kill");



AW: Add a Command OnPlayerSelectedMenuRow [HELP] - Gauloises - 12.05.2011

Thanks for the quick answer :>
Didnt thought it would be easy that way xD
thx!!