Garry's Mod Wiki

serverlist.PingServer

serverlist.PingServer( string ip, function callback )

Just Added

This was just added in the latest version (2021.01.27). It might only be available on the Dev Branch right now.

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. Function has the same arguments as the callback of serverlist.Query.

Page Links


Special Pages


Wikis

?

Render Time: 62ms

DB GetPage 4
Generate Html 3
SaveChanges (1) 35
Render Body 0
Render Sidebar 13