Raised This Month: $51 Target: $400
 12% 

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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, 714 views)
    File Type: sp Get Plugin or Get Source (AimMenu.sp - 728 views - 10.7 KB)
    File Type: smx AimMenu.smx (12.9 KB, 817 views)

    Last edited by Skippy; 05-05-2013 at 13:56. Reason: Updated to version 2.0
    Skippy is offline
     



    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:38.


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