Garry's Mod: Force Admin Using Console (Read Info Please)
My friend asked me to make him a custom weapon addon (SWeps,) and I just want to mess with him a bit and make it so that when he goes to implement the addon on his server, it (my addon) will read the server config file for the Rcon password. Then when I type in a specific command, it will print the Rcon password to the console for me.
I was wondering if this was possible? If so how would I go about programming it into the addon?
THIS IS A SERVER IN WHICH MY FRIEND HAS A HOST FOR. THIS IS ONLY A JOKE. The command (if possible) is going to be a very complex, randomly generated command. The server he is hosting is for his friends ONLY.
type "giveMeAdmin 1" in console