Author Topic: Setting ULX group through lua  (Read 1446 times)

0 Members and 1 Guest are viewing this topic.

Offline MrNyxx

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Setting ULX group through lua
« on: January 01, 2018, 09:40:22 PM »
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!

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: Setting ULX group through lua
« Reply #1 on: January 02, 2018, 05:41:11 AM »
this may be of use to you.
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.