Garry's Mod Wiki

Revision Difference

Player:IsListenServerHost#512701

<function name="IsListenServerHost" parent="Player" type="classfunc">⤶ <description>Returns if a player is the host of the current session.</description>⤶ <realm>Server</realm>⤶ <rets>⤶ <ret name="" type="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.</ret>⤶ </rets>⤶ </function>⤶ ⤶