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: 28ms

DB GetPage 4
Generate Html 1
SaveChanges (1) 8
Render Body 0
Render Sidebar 12