Garry's Mod Wiki

game.SinglePlayer

  boolean game.SinglePlayer()

Description

Returns whether the current session is a single player game.

Returns

1 boolean
isSinglePlayer