Garry's Mod Wiki

SANDBOX:SpawnMenuEnabled

  boolean SANDBOX: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

1 boolean
Whether to create spawnmenu or not.