Garry's Mod Wiki


NPC:SetSquad( string name )

Just Added

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


Assigns the NPC to a new squad. A squad can have up to 16 NPCs. NPCs in a single squad should be friendly to each other.


1 string name
The new squad name to set.

Page Links

Special Pages



Render Time: 27ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 10
Render Body 0
Render Sidebar 9