Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: iitiago on September 30, 2019, 09:55:52 AM
-
How would I get all users in a group alongside their steamid? I thought about using getUsers() but have no clue how to use this function.
-
Ulib.ucl stores all info. There's a Ulib.ucl.groups that stores other table info, including I think, members.
As for how to use ULib commands, don't forget we have docs.
https://ulyssesmod.net/docs/files/lua/ulib/shared/player-lua.html#getUsers
-
Ulib.ucl stores all info. There's a Ulib.ucl.groups that stores other table info, including I think, members.
As for how to use ULib commands, don't forget we have docs.
https://ulyssesmod.net/docs/files/lua/ulib/shared/player-lua.html#getUsers
Ah ok and I read the docs to find getUsers but didnt understand the args required. Ive been looking for the Ulib.ucl.groups in the docs and can't find it. Can you point me in the right direction please?
-
Stickly Man! posted some example code on how to use the data in ULib.ucl.users to get all members of a certain group in Topic: Listing group members (https://forums.ulyssesmod.net/index.php/topic,8130.msg41228.html#msg41228).
ULib.getUsers only works on online players. It can be used to get all active players in a certain group. Bytewave posted some examples in Topic: ULib.getUsers help (https://forums.ulyssesmod.net/index.php/topic,10181.msg52217.html#msg52217).
-
UCL - It's a table. It stores all user/group info - (U)lib Access (C)ontrol (L)ist
https://ulyssesmod.net/docs/files/lua/ulib/shared/sh_ucl-lua.html
Thanks for the assist Timmy. It was late and i totally forgot .users. Thought there might actually be users in .groups
-
Stickly Man! posted some example code on how to use the data in ULib.ucl.users to get all members of a certain group in Topic: Listing group members (https://forums.ulyssesmod.net/index.php/topic,8130.msg41228.html#msg41228).
ULib.getUsers only works on online players. It can be used to get all active players in a certain group. Bytewave posted some examples in Topic: ULib.getUsers help (https://forums.ulyssesmod.net/index.php/topic,10181.msg52217.html#msg52217).
UCL - It's a table. It stores all user/group info - (U)lib Access (C)ontrol (L)ist
https://ulyssesmod.net/docs/files/lua/ulib/shared/sh_ucl-lua.html
Thank you guys soo much :D
Thanks for the assist Timmy. It was late and i totally forgot .users. Thought there might actually be users in .groups