Garry's Mod Wiki

Revision Difference

serverlist.PingServer#529176

<function name="PingServer" parent="serverlist" type="libraryfunc">⤶ <description>Queries a server for its information/ping.</description>⤶ <realm>Menu</realm>⤶ <added>2021.01.27</added>⤶ <args>⤶ <arg name="ip" type="string">The IP address of the server, including the port.</arg>⤶ <arg name="callback" type="function">The function to be called if and when the request finishes. Function has the same arguments as the callback of <page>serverlist.Query</page>.</arg>⤶ ⤶ </args>⤶ </function>