Author Topic: adding user problem  (Read 2074 times)

0 Members and 1 Guest are viewing this topic.

sambr

  • Guest
adding user problem
« on: July 27, 2007, 05:21:33 AM »
Hi i have added and extra user to my ulx in ym server and it isnt working is this right?
users.txt
"Out"
{

"superadmin"
{
   "id" ""
   "type" "STEAM_0:1:12137542"
   "pass" ""
   "pass_req" "0"
   "groups"
   {
      "1"   "superadmin"
      "2"   "immunity"
   }
   "allow"
   {
      "1"   "ulx kick"
      "2"   "ulx ban"
   }
   "deny"
   {
      "1"   "ulx cexec"
   }
}

"Special Member"
{
   "id" ""
   "type" "STEAM_0:1:12137543"
   "pass" ""
   "pass_req" "0"
   "groups"
   {
   }
   "allow"
   {
   }
   "deny"
   {
      "1"   "ulx cexec"
   }
}
}


groups.txt
"Out"
{

"superadmin"
{
   "allow"
   {
      "1"   "ulx kick"
      "2"   "ulx ban"
   }
   "deny"
   {
      "1"   "ulx cexec"
   }
}

"Special Member"
{
   "allow"
   {
   }
   "deny"
   {
      "1"   "ulx cexec"
   }
}
}

sambr

  • Guest
Re: adding user problem
« Reply #1 on: July 27, 2007, 06:03:59 AM »
I was also wondering, i am making it so only certain members can use psy and toolgun in dark rp is that possible? and if soo how?

sambr

  • Guest
Re: adding user problem
« Reply #2 on: July 27, 2007, 07:02:32 AM »
is there a way of getting this to work but with a different group?
if( Admins[ply:SteamID()] or CfgVars["toolgun"] == 1 ) then
   
      ply:Give( "gmod_tool" );
                ply:Give( "weapon_physcannon" );
                ply:Give( "weapon_physgun" );
   
   end
   

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: adding user problem
« Reply #3 on: July 27, 2007, 07:45:44 AM »
Your question is probably answered in our access sticky.

If it doesn't answer your question or you need further help, please make sure you post the information it asks for into this thread. If you don't post the information it asks for, you will be ignored.
Experiencing God's grace one day at a time.