// Custom admin menu commands. // For more information: // // http://wiki.alliedmods.net/Custom_Admin_Menu_%28SourceMod%29 // // Note: This file must be in Valve KeyValues format (no multiline comments) // "Commands" { "PlayerCommands" { "Set Infinite Ammo" { "cmd" "sm_fia #1 #2" "admin" "sm_slay" "execute" "player" "1" { "type" "player" "title" "Who?" } "2" { "type" "onoff" "title" "On/Off" } } "Toggle Crits on Player" { "cmd" "sm_crits #1 #2" "admin" "sm_slay" "1" { "type" "player" "title" "Player:" } "2" { "type" "list" "title" "Crit Chance" "1" "0.00" "2" "0.05" "3" "1.00" } } } "ServerCommands" { "Infinite Ammo All" { "cmd" "sm_fia_all #1" "admin" "sm_slay" "execute" "server" "1" { "type" "onoff" "title" "On/Off" } } } }