Ulysses Stuff > General Chat & Help and Support

Setting ULX group through lua

(1/1)

MrNyxx:
Hello, I am just wondering if there is some way to set a users group through lua. I know there is a "ply:GetUserGroup()" through ulx, but is there any way to set a players group? I am asking this, because I want to combine ulx to change a users group after they get to a certain amount of points. In this instance, I am using the "Surf Skill" gamemode by Fresh, and when the player finishes enough maps to gain a certain amount of points, I want to be able to automatically set the users group. If there is no way to do this, please tell me how I can achieve something like this without me manually setting their group. Thanks!

iViscosity:
this may be of use to you.

Navigation

[0] Message Index

Go to full version