Garry's Mod Wiki

Revision Difference

game.IsDedicated#551347

<function name="IsDedicated" parent="game" type="libraryfunc"> <description> Returns true if the server is a dedicated server, false if it is a listen server or a singleplayer game. ⤶ <bug issue="1495">This always returns false on the client.</bug>⤶ </description> <realm>Shared</realm> <rets> <ret name="" type="boolean">Is the server dedicated or not.</ret> </rets> </function>