OnPlayerSelectedMenuRow.... Problem - 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: OnPlayerSelectedMenuRow.... Problem (
/showthread.php?tid=91731)
OnPlayerSelectedMenuRow.... Problem -
introzen - 16.08.2009
Hey again...
I got a problem with my menu here. There is 3 almost the same menu commands:
http://pastebin.com/m1462de01
The 2 first works.... the 3rd doesn't...
Why? Help please =)
Re: OnPlayerSelectedMenuRow.... Problem -
Luca Dimonte - 16.08.2009
Maybe you never get into case 5. They all seems the same code (but some difrerent vars).
If you donґt get ingame SERVER: Unknown command message it's case 5, if you get that message it's something wrong with any variable in the case 5 code.
Re: OnPlayerSelectedMenuRow.... Problem -
introzen - 16.08.2009
When I press the menu command witch should be case 5, nothing happends... It closes the menu and doesn't say anything...
Re: OnPlayerSelectedMenuRow.... Problem -
Luca Dimonte - 16.08.2009
Do you use cases from 1 to 5? maybe you are counting 1 to 5 options in menu, but internally they are 0 to 4.
Re: OnPlayerSelectedMenuRow.... Problem -
Andom - 16.08.2009
Did you counted from 0 instead of 1?
Re: OnPlayerSelectedMenuRow.... Problem -
introzen - 16.08.2009
I have options between case 0 and 6.
They're counted as they should =/
Re: OnPlayerSelectedMenuRow.... Problem -
introzen - 16.08.2009
No one knows what the problem with this is?
I need help, please... =/