Garry's Mod Wiki

GetPlayerList

  GetPlayerList( string serverip )

Description

This is used internally - although you're able to use it you probably shouldn't.

Updates the PlayerList for the Currently Viewed Server. Internally uses serverlist.PlayerList to retrieve the PlayerList.

Arguments

1 string serverip
The ServerIP to retrieve the PlayerList from.