• User.txt help needed
    3 replies, posted
Hi there, I am running my own listen server and I am trying to get my friend to have admin powers. Well atleast I want him to be able to use all of the tools and weapons I have installed. So I went to garrysmod and found this file wich I believe is my answer. If not please let me know. So my question is how can I add someone to this text file as a full power admin? Thanks in advance.
Just copy the line where it says superadmin to another line.
[QUOTE=Ideal-Hosting;36834261]Just copy the line where it says superadmin to another line.[/QUOTE] So my file looks like this now: [CODE] "Users" { // // This is your users file // // You can use this file to add people as admins on your server // Add them to the relevant section // // If you're a Lua coder you can add your own sections and use them // in your script by doing pl:IsUserGroup( "admin" ) etc // "superadmin" { //"garry" "STEAM_0:1:7099" } "admin" { //"garry" "STEAM_0:1:7099" } } "superadmin" { //"garry" "STEAM_0:1:7099" }} [/CODE] oooooooooooooow now I get it... It's just one huge line in my file but now I copy it here it looks decent. -.-" Looks like basic java to me.
Like that: [code] "Users" { // // This is your users file // // You can use this file to add people as admins on your server // Add them to the relevant section // // If you're a Lua coder you can add your own sections and use them // in your script by doing pl:IsUserGroup( "admin" ) etc // "superadmin" { "garry" "STEAM_0:1:7099" "garry" "STEAM_0:1:7099" "garry" "STEAM_0:1:7099" "garry" "STEAM_0:1:7099" "garry" "STEAM_0:1:7099" } "admin" { "garry" "STEAM_0:1:7099" "garry" "STEAM_0:1:7099" "garry" "STEAM_0:1:7099" "garry" "STEAM_0:1:7099" "garry" "STEAM_0:1:7099" } } [/code]
Sorry, you need to Log In to post a reply to this thread.