How to give friends admin rights without a password to the server

garrys-modpc

I was playing gmod with a friend and he couldn't use some admin items and I wanted to give him admin, but the tutorials we found said something about a password. We don't use a password when play; we just connect via ipv4 and the connect command. How do I give him admin rights?

Best Answer

After some research I found that you should be able to add admins by altering the users.txt file.
You can find this file in:
STEAMFOLDER > GarrysMod > garrysmod > settings > users.txt
In this file an entry looks like this:

"admin"
{
    //"garry"           "STEAM_0:1:7099"
}

What you should do is enter a line with the info of your friend so it ends up like this:

"admin"
{
    "Friends_Username"          "STEAM_0:0:0000"
}

You can find a steam id trough various websites or steam itself.

source that helped me get the idea