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