GetPlayerPing

From Multi Theft Auto: Wiki
Revision as of 03:29, 20 May 2006 by Ransom (talk | contribs)
Jump to navigation Jump to search

Description

This function returns the ping (communication time between the client and server) of a specified player.

Syntax

int getPlayerPing ( player player )

Required Arguments

  • player: The player whose ping you want to determine.

Example

intPing = getPlayerPing ( findPlayer ( "Someguy" ) )
outputChatBox ( "Someguy's ping is ", intPing, "." )