global.ping

Type
Options

Description

Calculates the round trip time to your server in milliseconds.

show_message("Ping is "+string(global.ping)+" ms")
📤
Returns -1 if you’ve not connected to the server, and returns the last ping packet time taken otherwise.