Rcon how do i?

Ok im the owner of my server but how do i make my self owner i heard i could do rcon but i dont knwo how to do taht all i know is the rcon pass what should i do.

Is it dedicated or is it a listen server?

In my server I do my self the owner by changing the text file: garrysmod/settings/users.txt

Dedicated requires an RCON password.

If you know your RCON pass then type in console

 rcon password [Your Password] 

and then you have to add ownership.

Could someone correct me if I’m wrong, it’s been a while since I did this.

rcon_password [Your Password]

Then when you want to do a command you need to add rcon before it like this:
rcon sbox_noclip 0

ok i got it a person came on server and taught me.