Player/IsListenServerHost

From Garry's Mod
Jump to: navigation, search
 Player:IsListenServerHost( )

Description

Returns if a player is the host of the current session.

Returns

boolean

True if the player is the listen server host, false otherwise.

This will always be true in single player, and false on a dedicated server.
Personal tools
Navigation