Console Basics
Welcome to the CS 1.6 Admin Command Tutorial. This guide will teach you how to properly use AMX Mod X administrative commands in the console.
Basic Syntax:
command_name <parameter>
Critical: Player Targeting
PARTIAL NAME MATCHING:
All commands use substring matching for player names. If multiple players match your input, the command will fail.
Example: Players "Toreno2" and "Toreno" are online.
This applies to all commands that target players!
Example: Players "Toreno2" and "Toreno" are online.
amx_ban toreno 60 insults ← FAILS (matches both players)amx_ban toreno2 60 insults ← WORKS (unique match)This applies to all commands that target players!
RECOMMENDED: USING USERID
To avoid name matching issues, always use the userid with # prefix:
Step 1: Type
Step 2: Find the player's userid in the output
Step 3: Use the userid with # prefix in your command
Status output example:
└─ userid is 5012
Usage:
This method works for ALL commands that target players!
Step 1: Type
status in consoleStep 2: Find the player's userid in the output
Step 3: Use the userid with # prefix in your command
Status output example:
#1 "Toreno" 5012 STEAM_1:0:742130993 15 11:06 45 0└─ userid is 5012
Usage:
amx_ban #5012 60 insultsThis method works for ALL commands that target players!
Other Important Rules
SPACES IN PARAMETERS:
If your parameter contains spaces, wrap it in quotes:
amx_ban toreno 60 "insults + bad behavior"
TIP:
Select a command from the list on the left to see detailed usage instructions, examples, and important notes.