scripting and menu
(I hope I have not made mistakes in this pattern)
In this menu handler 1 key runs some function and opens menu again (first page). Last key runs another function, but it must open second page of menu. I dont know how. Code:
/* Plugin generated by AMXX-Studio */ |
Re: scripting and menu
|
Re: scripting and menu
i have add this
Code:
menu_display( id, "function_menu", "1")Code:
case 11: |
Re: scripting and menu
Don't use client_cmd, call the function.
client_cmd(id, "music_switch") -> my_switch(id) Also : new key = str_to_num(data) switch(key) Could be replaced with switch( item ) but items start from 0 when key start from 1 For php code use [php] |
Re: scripting and menu
Here ya go, use this as an example:
PHP Code:
|
Re: scripting and menu
very cool! that is what i need.
thanks thanks thanks ! :) |
| All times are GMT -4. The time now is 19:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.