OnPlayerSelectedMenuRow not being called
#4

Quote:
Originally Posted by suhrab_mujeeb
Посмотреть сообщение
Doesn't this get declared at the top of the script?
pawn Код:
new Menu:mPlayerMenu
No. It's declared locally. It has to be global? (and used when i show the menu?)

Quote:
Originally Posted by wildcookie007
Посмотреть сообщение
Tried removing brackets around the 0 where you defined AMMO_MENU?
Try to print it inside of switch(row)
The brackets are ignored by the compiler. Also if the print won't work inside the callback (at the top) it definatly wont work in the switch statement. Also that is the full code ATM its an include.
Reply


Messages In This Thread
OnPlayerSelectedMenuRow not being called - by iggy1 - 14.12.2011, 11:27
Re: OnPlayerSelectedMenuRow not being called - by suhrab_mujeeb - 14.12.2011, 12:25
Re: OnPlayerSelectedMenuRow not being called - by wildcookie007 - 14.12.2011, 12:27
Re: OnPlayerSelectedMenuRow not being called - by iggy1 - 14.12.2011, 12:28
Re: OnPlayerSelectedMenuRow not being called - by wildcookie007 - 14.12.2011, 12:30
Re: OnPlayerSelectedMenuRow not being called - by suhrab_mujeeb - 14.12.2011, 12:33
Re: OnPlayerSelectedMenuRow not being called - by iggy1 - 14.12.2011, 12:34
Re: OnPlayerSelectedMenuRow not being called - by wildcookie007 - 14.12.2011, 12:44
Re: OnPlayerSelectedMenuRow not being called - by iggy1 - 14.12.2011, 12:57
Re: OnPlayerSelectedMenuRow not being called - by wildcookie007 - 14.12.2011, 13:01

Forum Jump:


Users browsing this thread: 2 Guest(s)