ULX

Author Topic: ULX give group  (Read 316 times)

0 Members and 1 Guest are viewing this topic.

Offline Aloe Vera

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
ULX give group
« on: April 01, 2020, 08:13:08 AM »
How can I give a group (example: member) to someone who enters the server?
I know that the "guest" group exists, but I want to create a group that is called a member and that when people log in, the server already gives them that group. The last option would be to try to configure the group "guest"

PLS HELP  :( :( :( :( :(

Online JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8073
  • Karma: 388
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX give group
« Reply #1 on: April 02, 2020, 06:51:25 PM »
By default, there is no 'guest' group in Gmod. Perhaps you have a gamemode or mod that makes one.
Gmod knows user, admin and superadmin.

Straight Gmod Lua, you want SetUserGroup
For ULib, you'd want ucl.addUser
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming