Garry's Mod Wiki

SANDBOX:PopulatePropMenu

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

Page Links


Special Pages


Wikis

?

Render Time: 27ms

DB GetPage 3
Generate Html 0
SaveChanges (1) 8
Render Body 0
Render Sidebar 12