how do i use the admin commands and how can i password protect my server so that i can only play with my friends?
and what should be my steam id?
thanks in advance..
[hr]
Hi.
Fisrt of all, let's set the password. Open the "server.cfg" file. In a new line add this: sv_password "abc" //Server password
Replace the red part with a new password of your choice and save the file.
About your SteamID now. Join a radom server. Then open console and type "status". Find your nickname and at the right of it you will see your SteamID. It will look like this: STEAM_0:X:XXXXX
After you configure the "admins.cfg" file and set yourself admin, you will be able to open the admin panel. To do that join your server, open console and type " sm_admin". The admin panel will open.
You can also open admin panel with two more ways. In chat type "!admin" or you can bind the "sm_admin" command with a key of your choice. To do that open console and type "bind x sm_admin". Replace "x" with a key of your choice.