Garry's Mod Wiki

ai.GetSquadMembers

  table ai.GetSquadMembers( string squad )

Description

Returns all members of a given squad. See also ai.GetSquadMemberCount and NPC:GetSquad.

Arguments

1 string squad
The squad name.

Returns

1 table
A table of NPCs in the given squad.