Garry's Mod Wiki

spawnmenu.PopulateFromTextFiles

  spawnmenu.PopulateFromTextFiles( function callback )

Description

Loads spawnlists from text files.

Arguments

1 function callback
The function to call. Arguments are ( strFilename, strName, tabContents, icon, id, parentid, needsapp )