AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Special Staff Menu (https://forums.alliedmods.net/showthread.php?t=312585)

Lindao 12-08-2018 20:28

Special Staff Menu
 
1 Attachment(s)
Special Staff Menu

This menu have a special menu and you can edit it!
You can add comands like this:


PHP Code:

public SubMenuidiMenuiItem )
{
    if( 
iItem == MENU_EXIT )
    {
        
menu_destroyiMenu );
        return 
PLUGIN_HANDLED;
    }
    
    new 
iAccessiData], iName64 ], iCallBack
    
menu_item_getinfoiMenuiItemiAccessiDatacharsmaxiData ), iNamecharsmaxiName ), iCallBack ); 
    
    new 
iKey str_to_numiData );
    
    switch( 
iKey )
    {
    case 
1
        {
            
ChooseTeamid );
        }
    case 
2
        {
            
client_cmd(id"say /top15" );
        }
    case 
3
        {
            
client_cmd(id"say /rank" );
        }
    case 
4:
        {
    if(
get_user_flags(id) & ADMIN_MENU)
    
client_cmd(id"say /m" ); 
    else
    
menuid )

        }
        
    }    
    
menu_destroyiMenu );
    return 
PLUGIN_HANDLED;


Special staff menu itens:

PHP Code:

public ShowMenu(id)
{
 if(
get_user_flags(id) & ADMIN_BAN)
 {
  new 
szMenu menu_create("\r[ ServerName ]^n\yMod Menu^n\d[ OFICIAL LINDAO ]","menu_de_mod_handler")
  
  
menu_additem(szMenu,"FF")
  
menu_additem(szMenu,"Revive")
  
menu_additem(szMenu,"No Clip")
  
menu_additem(szMenu,"GodMode")
  
menu_additem(szMenu,"Transfer")
  
menu_additem(szMenu,"BlockTeams")
 
  
menu_display(id,szMenu)
 } 


Steam link: https://steamcommunity.com/id/PlayerJogador/
Steam Group: https://steamcommunity.com/groups/gamezonecomunidade

iceeedr 12-09-2018 19:34

Re: Special Staff Menu
 
https://forums.alliedmods.net/showthread.php?t=284324 ??

Lindao 12-09-2018 20:29

Re: Special Staff Menu
 
Quote:

Originally Posted by iceeedr (Post 2628024)

Are very diferent codes, and you can see my plugin have more things than them.

instinctpt1 12-09-2018 22:24

Re: Special Staff Menu
 
Quote:

Originally Posted by Lindao (Post 2628030)
Are very diferent codes, and you can see my plugin have more things than them.

Really you think so ??

Hardcoded plugins like these will surely get unapproved and there is no scope for them and many people using plugins have no knowledge of scripting in the language

X3. 12-09-2018 23:33

Re: Special Staff Menu
 
You are just creating a normal menu and submenu which everyone can do :\

Lindao 12-10-2018 17:16

Re: Special Staff Menu
 
Quote:

Originally Posted by instinctpt1 (Post 2628036)
Really you think so ??

Hardcoded plugins like these will surely get unapproved and there is no scope for them and many people using plugins have no knowledge of scripting in the language

I know, but works god, and a loot of people dont know how to do a menu, i just wonna make it public...

Lindao 12-10-2018 17:17

Re: Special Staff Menu
 
Quote:

Originally Posted by X3. (Post 2628040)
You are just creating a normal menu and submenu which everyone can do :\

No i add the special things to the menu like revive, and other things...
Its not soo simple...

iceeedr 12-10-2018 18:20

Re: Special Staff Menu
 
The Ocixrom plugin is infinitely better, both in functionality and in writing, so please do not post plugins that have been made before if nothing new / better is added.

OciXCrom 12-11-2018 08:02

Re: Special Staff Menu
 
Quote:

Originally Posted by Lindao (Post 2628030)
Are very diferent codes, and you can see my plugin have more things than them.

How does your plugin with 6 items have more things than a plugin with UNLIMITED items?

Hard-coded plugins like this one aren't welcomed here. You should make something that's worth having in 2018 rather than creating something that was made many times before and it's not different than any other + doesn't have any configuration.

MITAR 12-19-2018 12:06

Re: Special Staff Menu
 
my dear colleague you want 1 admin menu and neither do you know? see this


https://forums.alliedmods.net/showthread.php?t=217695


All times are GMT -4. The time now is 08:51.

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