Raised This Month: $ Target: $400
 0% 

Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
K o T
Senior Member
Join Date: Jan 2011
Old 07-25-2011 , 17:54   Menu
Reply With Quote #1

Code:
{     menu = menu_create("choice_abilities", "menu_handler")         static players[32], num, name[32], cmd[5], itemtxt[60]         get_players(players, num)     for (new i; i < num; i++)     {         get_user_name(players[i], name, 31)                 formatex(cmd, 4, "%i", players[i])         formatex(itemtxt, 59, "%s: %s", name, label[settings[players[i]]])                 menu_additem(menu, itemtxt, cmd)     }         menu_display(id, menu, page)     return PLUGIN_CONTINUE } public menu_handler(id, menu, item) {     if (item < 0)     {         for (new i; i < 33; i++)         {             if (settings[i] != 0)             {                 set_forwards_registered(true)                 return PLUGIN_HANDLED             }         }                 set_forwards_registered(false)         return PLUGIN_HANDLED     }         static cmd[5], callback, access, pid     menu_item_getinfo(menu, item, access, cmd, 4, _, _, callback)         pid = str_to_num(cmd)         if (is_user_connected(pid))     {         settings[pid] = ++settings[pid] % (sizeof mode)     }         menu_destroy(menu)             build_menu(id, item / 7)     return PLUGIN_HANDLED }

who may do menu for of so not appeared others players only player which wrote command only he seen only himself

Last edited by K o T; 07-25-2011 at 23:37.
K o T is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-25-2011 , 19:33   Re: Menu
Reply With Quote #2

It already only shows the menu to one player. You need to explain in plain english in detail what you are actually asking for.
__________________
fysiks is offline
K o T
Senior Member
Join Date: Jan 2011
Old 07-25-2011 , 23:13   Re: Menu
Reply With Quote #3

It already only shows the menu to one player.

command

choice_abilities

display

menu
1.players: MAXSPEED,HP 120,GRAVITATION

remove
2.players: HP 120
3.players: GRAVITATION
4.players: MAXSPEED
5.players: GRAVITATION
6.players: GRAVITATION
7.players: HP 120

Last edited by K o T; 07-26-2011 at 08:05.
K o T is offline
Old 07-25-2011, 23:30
K o T
This message has been deleted by K o T.
K o T
Senior Member
Join Date: Jan 2011
Old 07-26-2011 , 06:36   Re: Menu
Reply With Quote #5

remove from menu rest of us players
K o T is offline
K o T
Senior Member
Join Date: Jan 2011
Old 07-26-2011 , 08:03   Re: Menu
Reply With Quote #6

It already only shows the menu to one player.

command

choice_abilities

display

menu
1.players: MAXSPEED,HP 120,GRAVITATION

0.Exit

remove
2.players: HP 120
3.players: GRAVITATION
4.players: MAXSPEED
5.players: GRAVITATION
6.players: GRAVITATION
7.players: HP 120
8.Back
9.More

0.Exit


in menu only was my one Nick more no one does not appear

not have appeared that only one nickname for the one who introduced this

Do not have appeared that only one nickname for the person who introduced this

as there is something like only menu http://forums.alliedmods.net/showthread.php?p=765031
Another example not found by me
K o T is offline
2reason2kill
Senior Member
Join Date: Feb 2011
Old 07-26-2011 , 08:21   Re: Menu
Reply With Quote #7

Quote:
Originally Posted by K o T View Post
It already only shows the menu to one player.

command

choice_abilities

display

menu
1.players: MAXSPEED,HP 120,GRAVITATION

0.Exit

remove
2.players: HP 120
3.players: GRAVITATION
4.players: MAXSPEED
5.players: GRAVITATION
6.players: GRAVITATION
7.players: HP 120
8.Back
9.More

0.Exit


in menu only was my one Nick more no one does not appear

not have appeared that only one nickname for the one who introduced this

Do not have appeared that only one nickname for the person who introduced this

as there is something like only menu http://forums.alliedmods.net/showthread.php?p=765031
Another example not found by me
Can You Plz Stop Making it with Color?
2reason2kill is offline
K o T
Senior Member
Join Date: Jan 2011
Old 07-26-2011 , 08:56   Re: Menu
Reply With Quote #8

Quote:
Originally Posted by 2reason2kill View Post
Can You Plz Stop Making it with Color?
command

choice_abilities

display

menu
1.players: MAXSPEED,HP 120,GRAVITATION

0.Exit

remove
2.players: HP 120
3.players: GRAVITATION
4.players: MAXSPEED
5.players: GRAVITATION
6.players: GRAVITATION
7.players: HP 120
8.Back
9.More

0.Exit

no
K o T is offline
deadman909
Veteran Member
Join Date: Oct 2008
Old 07-26-2011 , 10:28   Re: Menu
Reply With Quote #9

What exactly is the request your post sort of make no sense?
__________________

deadman909 is offline
Send a message via MSN to deadman909 Send a message via Yahoo to deadman909
K o T
Senior Member
Join Date: Jan 2011
Old 07-27-2011 , 02:52   Re: Menu
Reply With Quote #10

as with this menu do so appeared on the panel user which introduced command he only on the panel name its selected for a mode for themselves so there was no other

conjure_menu ???

Last edited by K o T; 07-28-2011 at 16:07.
K o T is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode