Garry's Mod Wiki

Player:IsListenServerHost

boolean Player:IsListenServerHost()

Description

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

Returns

1 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.

Page Links


Special Pages


Wikis

?

Render Time: 76ms

DB GetPage 45
Generate Html 2
SaveChanges (1) 17
Render Body 0
Render Sidebar 10