Garry's Mod Wiki

NPC:IsSquadLeader

  boolean NPC:IsSquadLeader()

Description

Returns whether the current NPC is the leader of the squad it is in.

Returns

1 boolean is_leader
Whether the NPC is the leader of the squad or not.