Author Topic: TempAdd (v2.4) - Add a user to another group for a set amount of time  (Read 97241 times)

0 Members and 6 Guests are viewing this topic.

Offline TheChris812

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Bug with custom groups
« Reply #135 on: August 08, 2017, 08:00:58 AM »
I have a bug where I can't tempadd someone to a group that I made myself for example VIP. This is what I get:

[ERROR] addons/ulx_tempadduser/lua/ulx/modules/sh/ulxtempuser.lua:166: Group does not exist for adding user to (vip)
  1. tempfuncadd - [C]:-1
   2. addUser - addons/ulx-v3_73/lua/ulx/xgui/server/sv_groups.lua:47
    3. call - addons/ulx_tempadduser/lua/ulx/modules/sh/ulxtempuser.lua:166
     4. __fn - addons/ulib-v2_63/lua/ulib/shared/commands.lua:943
      5. execute - addons/ulib-v2_63/lua/ulib/shared/commands.lua:1323
       6. unknown - addons/ulib-v2_63/lua/ulib/shared/commands.lua:1351
        7. Run - lua/includes/modules/concommand.lua:54
         8. unknown - addons/ulib-v2_63/lua/ulib/shared/commands.lua:1365
          9. unknown - lua/includes/modules/concommand.lua:54

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #136 on: August 08, 2017, 08:20:00 AM »
Make sure your groups are all lower case.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given