Garry's Mod Wiki

serverlist.PingServer

  serverlist.PingServer( string ip, function callback )

Description

Queries a server for its information/ping.

Arguments

1 string ip
The IP address of the server, including the port.
2 function callback
The function to be called if and when the request finishes.

Callback has arguments described here: ServerQueryData structure.