Raised This Month: $ Target: $400
 0% 

GHW amxmodmenu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Hawk552 (427)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 01-08-2009 , 21:51   GHW amxmodmenu
Reply With Quote #1

  • This plugin is my version of the amxmodmenu client commands menu.
  • Features:
    • Can choose where to execute the command line
      • Is in original amxmodmenu
    • Can choose what admin flags can use the command
      • Is in original amxmodmenu
    • Has a 2nd menu to choose a target of the command
      • Is in original amxmodmenu
    • Can place targeted player's name, userid, ip, & authid into command line easily
      • Is in original amxmodmenu
    • Can choose not to have a specific target (skips 2nd menu)
      • New
    • Can have multiple commands executed per menu item
      • New
  • Example
    • Can use the menu system to execute on specific players:
      • amx_nick "*name" "{MyTag} *name"
      • amx_rcon say *name is a Doofus (*ip) (#*userid) (*authid)
      • amx_slap "*name"
    • Can use the menu system to do simple macros:
      • sv_restartround 1
      • amx_off;exec cal.cfg

Commands:
  • amxmodmenu2
  • ghwmodmenu

Things that can be placed into command:
  • Name
    • *n
    • *name
  • Userid
    • *u
    • *userid
  • SteamID
    • *a
    • *authid
    • *s
    • *steamid
  • IP
    • *i
    • *ip

Example ghwmodmenu.ini:
  • Code:
    ;Description	Admin	Where		Target	Command
    "Slap"		"e"	"admin"		"yes"	"amx_slap "*n""
    "Slay"		"e"	"admin"		"yes"	"amx_slay "*n""
    "Doofus"	"l"	"server"	"yes"	"say *n is a Doofus (*i) (#*u) (*a)"
    "Be Happy"	""	"admin"		"yes"	"say *n Makes me so happy!"
    "Rename to IP"	"e"	"admin"		"yes"	"amx_nick "*n" "(*i) *n""
    "Llama"		"a"	"admin"		"yes"	"amx_nick "*n" "Llama";amx_slap "*n" 10"
    "Laugh At Self"	"a"	"target"	"yes"	"say I'm so silly."
    "Restart Round"	"g"	"server"	"no"	"sv_restartround 1"
    "Cal Time"	"a"	"server"	"no"	"amx_off;exec cal.cfg"


"Description" "Required admin flags" "Where to execute" "Requires T]target" "Command to execute"
  • Admin Flags
    • Letters from users.ini
  • Where to execute
    • admin - Admin's Console
    • server - Server's Console
    • target - Target Player's Console
  • Requires Target
    • yes - will show a 2nd menu with all the players on it
    • no - will just execute the command
Attached Files
File Type: sma Get Plugin or Get Source (GHW_amxmodmenu.sma - 4795 views - 8.8 KB)
File Type: ini ghwmodmenu.ini (1.1 KB, 2358 views)

Last edited by GHW_Chronic; 01-08-2009 at 22:12.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
 



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 19:47.


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