Raised This Month: $120 Target: $400
 30% 

Special Staff Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
Lindao
Junior Member
Join Date: Oct 2018
Location: Portugal
Old 12-08-2018 , 21:28   Special Staff Menu
Reply With Quote #1

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
Attached Files
File Type: sma Get Plugin or Get Source (Special_Menu.sma - 14 views - 10.3 KB)

Last edited by Lindao; 12-08-2018 at 21:29.
Lindao is offline
iceeedr
Senior Member
Join Date: Apr 2017
Location: Brazil
Old 12-09-2018 , 20:34   Re: Special Staff Menu
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=284324 ??
__________________
iceeedr is offline
Send a message via Skype™ to iceeedr
Lindao
Junior Member
Join Date: Oct 2018
Location: Portugal
Old 12-09-2018 , 21:29   Re: Special Staff Menu
Reply With Quote #3

Quote:
Originally Posted by iceeedr View Post
Are very diferent codes, and you can see my plugin have more things than them.
Lindao is offline
instinctpt1
Senior Member
Join Date: Dec 2016
Location: Rajasthan, India
Old 12-09-2018 , 23:24   Re: Special Staff Menu
Reply With Quote #4

Quote:
Originally Posted by Lindao View Post
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
__________________
CSIndia The only Indian Scripters Community
instinctpt1 is offline
X3.
Junior Member
Join Date: Sep 2018
Old 12-10-2018 , 00:33   Re: Special Staff Menu
Reply With Quote #5

You are just creating a normal menu and submenu which everyone can do :\
X3. is offline
Lindao
Junior Member
Join Date: Oct 2018
Location: Portugal
Old 12-10-2018 , 18:16   Re: Special Staff Menu
Reply With Quote #6

Quote:
Originally Posted by instinctpt1 View Post
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 is offline
Lindao
Junior Member
Join Date: Oct 2018
Location: Portugal
Old 12-10-2018 , 18:17   Re: Special Staff Menu
Reply With Quote #7

Quote:
Originally Posted by X3. View Post
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...
Lindao is offline
iceeedr
Senior Member
Join Date: Apr 2017
Location: Brazil
Old 12-10-2018 , 19:20   Re: Special Staff Menu
Reply With Quote #8

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.
__________________
iceeedr is offline
Send a message via Skype™ to iceeedr
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-11-2018 , 09:02   Re: Special Staff Menu
Reply With Quote #9

Quote:
Originally Posted by Lindao View Post
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.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply


Thread Tools
Display Modes

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 13:08.


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