Gamemode.SpawnMenuEnabled
From GMod Wiki
Event Hook | |
Hook Name | SpawnMenuEnabled |
Syntax | GM:SpawnMenuEnabled( ) |
Description | If false is returned then the spawn menu is never created. This saves load times if your mod doesn't actually use the spawn menu for any reason. |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.SpawnMenuEnabled]Gamemode.SpawnMenuEnabled [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Disables the spawn menu. |
---|---|
Used on | |
Code | function GM:SpawnMenuEnabled() return false; end |
Output | N/A |