Garry's Mod Wiki

Garry's Mod Wiki

  ContentIcon:SetNPCWeapon( table weapons )

Description

An AccessorFunc that sets 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.

Arguments

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...