Garry's Mod Wiki

Garry's Mod Wiki

  SANDBOX:PopulatePropMenu()

Description

This hook makes the engine load the spawnlist text files. It calls spawnmenu.PopulateFromEngineTextFiles by default.

Example

Source code for this hook.

function GM:PopulatePropMenu() -- This function makes the engine load the spawn menu text files. -- We call it here so that any gamemodes not using the default -- spawn menu can totally not call it. spawnmenu.PopulateFromEngineTextFiles() end

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...