HolyLib Wiki

CBaseClient:FillServerInfo

  CBaseClient:FillServerInfo( number playerSlot = -1 )

Description

Fills a SVC_ServerInfo net message with the server's info and sends it to the client.

Arguments

1number playerSlot = -1

overrides the player slot reported in the server info message sent to the client. Unless unsafe code is enabled, this must be -1 or a valid player slot between 1 and game.MaxPlayers()