• Get ULX User Rank/Group
    2 replies, posted
Hello. I'm currently trying to get a users group, but when I do [CODE]ply:GetUserGroup()[/CODE] on a superadmin, it gives me: "user" as an output. Thank you for your time:)
That's the one when you're using users.txt. The one that you want is this one: [lua]pl:GetNWString("usergroup")[/lua] EDIT: Strangely, both should work fine. Are you sure that you've set the usergroup correctly?
Thx! GetNWString seemed to give superadmin, while GetUserGroup gave user.. Strange:)
Sorry, you need to Log In to post a reply to this thread.