Garry's Mod Wiki

Revision Difference

Global.ChangeBackground#552199

<function name="ChangeBackground" parent="Global" type="libraryfunc"> <description>Sets the active main menu background image to a random entry from the background images pool. Images are added with <page>Global.AddBackgroundImage</page>.</description> <realm>Menu</realm> <file line="85">lua/menu/background.lua</file> <file line="73-L93">lua/menu/background.lua</file> <args> <arg name="currentgm" type="string">Apparently does nothing.</arg> </args> </function>