Garry's Mod Wiki

ContentIcon:SetNPCWeapon

ContentIcon:SetNPCWeapon

ContentIcon:SetNPCWeapon( table weapons )

Description

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.

Special Pages


Wikis

?

Render Time: 63ms

DB GetPage 46
Generate Html 1
SaveChanges (1) 7
Render Body 0
Render Sidebar 6