GroupNames
#6
(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.
Reply
Thanks given by:


Messages In This Thread
GroupNames - by NiLSPACE - 05-18-2013, 10:18 PM
RE: GroupNames - by xoft - 05-18-2013, 10:22 PM
RE: GroupNames - by NiLSPACE - 05-18-2013, 10:23 PM
RE: GroupNames - by xoft - 05-18-2013, 10:52 PM
RE: GroupNames - by NiLSPACE - 05-19-2013, 12:08 AM
RE: GroupNames - by ThuGie - 05-18-2013, 10:36 PM
RE: GroupNames - by NiLSPACE - 05-18-2013, 10:39 PM
RE: GroupNames - by NiLSPACE - 05-18-2013, 10:54 PM
RE: GroupNames - by Link1029 - 10-06-2013, 10:25 PM
RE: GroupNames - by NiLSPACE - 10-06-2013, 10:38 PM
RE: GroupNames - by bearbin - 10-07-2013, 01:02 AM
RE: GroupNames - by NiLSPACE - 10-07-2013, 01:02 AM



Users browsing this thread: 5 Guest(s)