Raised This Month: $46 Target: $400
 11% 

Help on my AdminMenu_Custom


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rehashmusic
AlliedModders Donor
Join Date: Jul 2019
Old 03-17-2020 , 11:30   Help on my AdminMenu_Custom
Reply With Quote #1

Code:
	"Rehash's Custom Menu"
	{
		"Toggle HNS"
		{
			"cmd" "hns_enabled"
			"execute" "server"
			"Type"		"onoff"
		}
		"Give All AWP" 
		{
			"cmd" "sm_give @all awp"
			"execute" "server"
		}
		"Quick Mute"
		{
			"cmd" "sm_mute @1"
			"execute" "server"
		}
		"Restart Game"
		{
			"cmd"		"sm_restartgame"
		}
		"Set Health"
		{
			"cmd"		"sm_health #1 #2"
			
			"1"
			{
				"type" 		"player"
				"title"		"Player:"
			}
			"2"
			{
				"type" 		"list"
				"title"		"Amount:"
				
				"1"			"1"
				"2"			"25"
				"3"			"50"
				"4"			"100"
				"5"			"150"
				"6"			"200"
			}
		}
	}

This is what i currently have and almost all the commands don't do anything in-game. I can't find an example for cvars to even refer off , so any help would be greatly appreciated.

If someone can fix this and just fix the following cmds , would be great....
"Toggle HNS" "cvar hns_enabled 0" <-- toggleable?
"Give All AWP" "sm_give @all awp"
"Vote FunJump" "sm_votefj"
"Quick Mute" "sm_mute" -> then list player names to mute
rehashmusic is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 03-23-2020 , 07:18   Re: Help on my AdminMenu_Custom
Reply With Quote #2

Example and description: https://wiki.alliedmods.net/Custom_A...enu_(SourceMod)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D1 fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles]
Dragokas 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 23:55.


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