AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Menu (https://forums.alliedmods.net/showthread.php?t=163013)

K o T 07-25-2011 17:54

Menu
 
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

fysiks 07-25-2011 19:33

Re: Menu
 
It already only shows the menu to one player. You need to explain in plain english in detail what you are actually asking for.

K o T 07-25-2011 23:13

Re: Menu
 
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

K o T 07-26-2011 06:36

Re: Menu
 
remove from menu rest of us players

K o T 07-26-2011 08:03

Re: Menu
 
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

2reason2kill 07-26-2011 08:21

Re: Menu
 
Quote:

Originally Posted by K o T (Post 1518790)
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?

K o T 07-26-2011 08:56

Re: Menu
 
Quote:

Originally Posted by 2reason2kill (Post 1518799)
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 :)

deadman909 07-26-2011 10:28

Re: Menu
 
What exactly is the request your post sort of make no sense?

K o T 07-27-2011 02:52

Re: Menu
 
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 ???


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

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