Raised This Month: $73 Target: $400
 18% 

[ANY] Aim Menu 2.0 (05/01/13)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Skippy
Senior Member
Join Date: Nov 2011
Plugin ID:
3510
Plugin Version:
2.0
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Commands @aim, on the fly, through a menu
    Old 02-03-2013 , 03:02   [ANY] Aim Menu 2.0 (05/01/13)
    Reply With Quote #1

    [ANY]Aim Menu 2.0

    by Skipper


    Description

    Allows you to do @aim commands on the fly through a menu. You can add any commands that you wish to the menu also.


    Commands

    sm_aim - Targets the person you are looking at.

    sm_reloadaim - Reloads the config file.

    sm_settings - Opens cookie settings menu. You can set to select your target through a menu and to allow to use +use to target.


    How does it work?

    Look at someone in game and insert the aim command. A menu will pop up like this.


    If you have Menu enabled through the cookie settings menu then you will be prompt with a menu like this.


    The title indicates your targets name and steam id. You will also have options to use on the target. Kick, ban, and mute are already built into the plugin. When pushing on kick or ban it will come up with a menu of reasons. If you originally picked banned then after the reason menu it will come with a menu of times for the ban.


    How does I install it?

    1. Download the AimMenu.smx (By pressing Get Plugin)
    2. Download the AimMenu.cfg
    3. Place the AimMenu.smx in your addons/sourcemod/plugins folder
    4. Place the AimMenu.cfg in your addons/sourcemod/config folder
    5. Type in the rcon "sm plugins load AimMenu" (without quotations) or just change map.


    How do I edit the config?

    Open the config file located in addons/sourcemod/configs/AimMenu.cfg
    You will be then presented with a config that looks like this:
    Code:
    "Aim Menu"
    {		
    	"Reasons"
    	{
    		"Hacking"
    		{
    			"reason"		"Hacking"
    		}
    		"TK"
    		{
    			"reason"		"Team Killing"
    		}
    		"Spamming"
    		{
    			"reason"		"Spamming Mic/Chat"
    		}
    		"Spray"
    		{
    			"reason"		"Inappropriate Spray"
    		}
    		"Language"
    		{
    			"reason"		"Inappropriate Language"
    		}
    		"Ignore"
    		{
    			"reason"		"Ignoring Admin"
    		}
    		"Exploit"
    		{
    			"reason"		"Exploiting"
    		}
    	}		
    	"BanTimes"
    	{	
    		"Permanent"
    		{			
    			"time"		"0"
    		}		
    		"10 Minutes"	
    		{			
    			"time"		"10"		
    		}		
    		"30 Minutes"		
    		{			
    			"time"		"30"		
    		}		
    		"1 Hour"		
    		{			
    			"time"		"60"		
    		}		
    		"1 Day"		
    		{			
    			"time"		"1440"		
    		}		
    		"1 Week"		
    		{			
    			"time"		"10080"		
    		}		
    		"1 Month"
    		{			
    			"time"		"302400"		
    		}
    	}
    	"Custom"
    	{
    		"Slay"
    		{
    			"cmd"	"sm_slay"
    		}
    		"Freeze"
    		{
    			"cmd"	"sm_freeze"
    		}
    	}	
    }
    To add a ban/kick reason
    Look at the example below of adding AFK to the menu.
    Code:
    	"Reasons"
    	{
    		"AFK"	// This will be the option that shows in the menu
    		{
    			"reason"	"You are afk" 	// This is the reason that the target will be kicked/banned
    		}	
    		"Hacking"
    		{
    			"reason"		"Hacking"
    		}
    To add a ban time
    Look at the example below of adding 1 minute to the menu.
    Code:
    	"BanTimes"
    	{	
    		"1 minute"		// Name of the Time that will show in the menu	
    		{			
    			"time"		"1"		// Amount of time(in minutes) the target will be banned for
    		}	
    		"Permanent"	
    		{			
    			"time"		"0"	
    		}
    TIP: The order it is in the config, the order it will show up in the menu
    To add a custom command
    Look at the examples I have in the menu.
    Code:
    	"Custom"
    	{
    		"Slay"	// Name of the Command that shows in the menu
    		{
    			"cmd"	"sm_slay"		// The command that wants to be accessed
    		}

    Version Log
    Code:
    2.0 (5/1/12) -
    - Fixed the error when not targeting someone.
    - Added ability to change the settings to target someone through a menu.
    - Added ability to change the settings to use +use to target someone.
    - Added ClientPref Settings
    
    1.1 (2/3/12)- 
    - Added ability to target the person you are spectating
    - Changed name of plugin (in the code) from "Aim commands" to "Aim Menu"
    
    1.0 (2/3/12) - 
    - Release

    Todo
    - Being able to have multiple targets
    - Being able to type ban or kick reason (Custom Reason)

    Thanks to Scipizoa for the idea of this plugin
    Attached Files
    File Type: cfg AimMenu.cfg (889 Bytes, 468 views)
    File Type: sp Get Plugin or Get Source (AimMenu.sp - 508 views - 10.7 KB)
    File Type: smx AimMenu.smx (12.9 KB, 517 views)

    Last edited by Skippy; 05-05-2013 at 13:56. Reason: Updated to version 2.0
    Skippy is offline
    Mirandor
    Senior Member
    Join Date: Jun 2006
    Location: Ile de France
    Old 02-03-2013 , 04:01   Re: [ANY] Aim Menu 1.0 (02/02/13)
    Reply With Quote #2

    Sound usefull!

    I'm waiting for the planed multiple/team target feature ;)
    Mirandor is offline
    Eoj Nawoh
    AlliedModders Donor
    Join Date: Jan 2013
    Old 02-03-2013 , 08:47   Re: [ANY] Aim Menu 1.0 (02/02/13)
    Reply With Quote #3

    We use this plugin on our server, it's extremely convenient to be able to target someone who may be breaking a rule or etc, then be able to take action.

    Especially when players with foreign characters, invalid names or etc show up!
    Eoj Nawoh is offline
    Scipizoa
    Senior Member
    Join Date: Aug 2012
    Location: ask me
    Old 02-03-2013 , 09:11   Re: [ANY] Aim Menu 1.0 (02/02/13)
    Reply With Quote #4

    I said this same exact thing whhen i requested this. Awesome work skipper. Cant wait to get it running on my servers
    __________________

    ZaBaGaBe Gaming Community: http://steamcommunity.com/groups/ZBGB
    Scipizoa is offline
    Groger
    Veteran Member
    Join Date: Oct 2009
    Location: Belgium
    Old 02-03-2013 , 12:32   Re: [ANY] Aim Menu 1.0 (02/02/13)
    Reply With Quote #5

    Very clever

    How does this work with sourcebans?

    Last edited by Groger; 02-03-2013 at 12:32.
    Groger is offline
    Scipizoa
    Senior Member
    Join Date: Aug 2012
    Location: ask me
    Old 02-03-2013 , 13:21   Re: [ANY] Aim Menu 1.0 (02/02/13)
    Reply With Quote #6

    I would assume adding the sourceban commands into the custom fields in the cfg
    __________________

    ZaBaGaBe Gaming Community: http://steamcommunity.com/groups/ZBGB
    Scipizoa is offline
    Skippy
    Senior Member
    Join Date: Nov 2011
    Old 02-03-2013 , 13:36   Re: [ANY] Aim Menu 1.0 (02/02/13)
    Reply With Quote #7

    Quote:
    Originally Posted by Groger View Post
    Very clever

    How does this work with sourcebans?
    You just insert the ban command into the config. Right now the plugin already has sm_ban built into it.
    Skippy is offline
    ChickenFighter
    Junior Member
    Join Date: Oct 2010
    Location: Germany
    Old 02-03-2013 , 13:38   Re: [ANY] Aim Menu 1.0 (02/02/13)
    Reply With Quote #8

    Too bad this doesn't work on Left4Dead2 ^^

    Plugin won't start up and there are no errors in my logs.

    //edit: Woops, it was my fault. I accidently placed the .cfg in /l4d2/left4dead2/cfg/sourcemod

    Everything is working now. Thank you very mutch for this plugin, very helpfull!

    Last edited by ChickenFighter; 02-03-2013 at 14:02.
    ChickenFighter is offline
    Noid
    Junior Member
    Join Date: Feb 2013
    Old 02-03-2013 , 19:28   Re: [ANY] Aim Menu 1.0 (02/02/13)
    Reply With Quote #9

    Can this plugin be used in Deathcam/spectator mode while aiming at player/beeing in ego-perspective of a Player (targeted at the one you're spectating)?
    Noid is offline
    Skippy
    Senior Member
    Join Date: Nov 2011
    Old 02-03-2013 , 19:31   Re: [ANY] Aim Menu 1.0 (02/02/13)
    Reply With Quote #10

    Quote:
    Originally Posted by Noid View Post
    Can this plugin be used in Deathcam/spectator mode while aiming at player/beeing in ego-perspective of a Player (targeted at the one you're spectating)?
    Hmm I will look into this. This will be on the todo list.
    Skippy is offline
    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 10:13.


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