(05-18-2013, 10:23 PM)STR_Warrior Wrote: it just makes a list ( Group = Player:GetGroups() ) and then it uses Group[1]. Also i don't realy see a reason why you would want a player with multiple groups ;P
There might be no reason, but there's a way to do it, so you have to count on it.
I'm not sure now if every player is a member of a group by default, isn't there a case when a player may be a member of zero groups? Your code would fail, then.
For what I know, you might want to have groups "Woodcutters" who are allowed to cut down trees, "Miners" who can dig dirt, stone and ores, and "Builders", who can build stuff (in a limited area, for example a town); and the players would buy membership in the groups. Then it makes perfect sense for a player to be in multiple groups.