Garry's Mod Wiki

NPC:IsSquadLeader

boolean NPC:IsSquadLeader()

Just Added

This was just added in the latest version (2021.01.27). It might only be available on the Dev Branch right now.

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.

Page Links


Special Pages


Wikis

?

Render Time: 71ms

DB GetPage 46
Generate Html 0
SaveChanges (1) 9
Render Body 0
Render Sidebar 13