Garry's Mod Wiki

Revision Difference

SANDBOX:PopulateNPCs#552887

<function name="PopulateNPCs" parent="SANDBOX" type="hook"> <ishook>yes</ishook>⤶ <description>Called by the spawnmenu when the NPCs tab is generated <warning>Creating an error in this Hook will result in a completely broken NPCs Tab</warning></description> <realm>Client</realm> <file line="141">gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contenttypes/npcs.lua</file> <predicted>No</predicted>⤶ <args> <arg name="pnlContent" type="Panel">The SpawnmenuContentPanel</arg> <arg name="tree" type="Panel">The ContentNavBar tree from the SpawnmenuContentPanel</arg> <arg name="node" type="Panel">The old Spawnlists</arg> </args> </function>