Skip to main content

Get group

  • Importing Groups
    local Groups = exports.plouffe_lib:Get("Groups")
  • Getting groups server side
    group : string

Groups.GetGroupPlayers(group)
  • Example usage
    local polices = Groups.GetGroupPlayers("police")
print(("There is currently %s polices"):format(polices.len))

for playerId,_ in pairs(polices) do
print(("%s is currently listed as a police"):format(GetPlayerName(playerId)))
end