Garry's Mod Wiki

Revision Difference

ContentIcon:GetNPCWeapon#514372

<function name="GetNPCWeapon" parent="ContentIcon" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>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.</description>⤶ <realm>Client</realm>⤶ <rets>⤶ <ret name="" type="table">A table of weapon classes to be chosen from when user tries to spawn the NPC.</ret>⤶ </rets>⤶ </function>⤶ ⤶