[b][url=wiki.garrysmod.com/?title=Player.SetUserGroup]Player.SetUserGroup [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
Does it work anymore? I tried it and nothing's happening.
it works
So in settings/users.txt the group that I am settin them to must exist, correct?
No, a group can't 'exist'. You can be in any group you want, it's just a networked variable. The following two lines do exactly the same thing:
[lua]ply:SetUserGroup( "admin" )
ply:SetNWString( "UserGroup", "admin" )[/lua]
Oh man that's really disappointing.
Sorry, you need to Log In to post a reply to this thread.