Ok I eventually got ULX and ULiB to work but now adding admin is the problem. This is what I have in C:/srcds/garrys mod/settings/user.txt
"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" //This is a user group. Groups are useful to LUA coders.
{
"garry" "STEAM_0:1:7099" //Garry is a user in the superadmin group.
"pissoffboi" "STEAM_0:1:13404182" //To be the server admin, your Steam ID should go here
}
"admin" //Another user group.
{
"garry" "STEAM_0:1:7099" //Your ID could go here as well without a significant decrease in admin power.
"pissoffboi" "STEAM_0:1:13404182"
}
}