game.IsDedicated

From Garry's Mod
Jump to: navigation, search
 game.IsDedicated( )

Description

Returns true if the server is a dedicated server, false if it is a Listen server or a singleplayer game.

BUG

This always returns false on the client.

Issue Tracker: #1495

Returns

boolean

Is the server dedicated or not.
Personal tools
Navigation