Garry's Mod Wiki

ContentIcon:GetNPCWeapon

  table ContentIcon:GetNPCWeapon()

Description

An AccessorFunc that returns a table of weapon classes for the content icon with "NPC" content type to be randomly chosen from when user tries to spawn the NPC.

Returns

1 table
A table of weapon classes to be chosen from when user tries to spawn the NPC.