GetPlayerPing: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
==Example==
==Example==
<syntaxhighlight lang="lua">intPing = getPlayerPing ( findPlayer ( "Someguy" ) )
<syntaxhighlight lang="lua">intPing = getPlayerPing ( findPlayer ( "Someguy" ) )
outputChatBox ( "Someguy's ping is ", intPing, "." )</syntaxhighlight>
outputChatBox ( "Someguy's ping is " .. intPing .. "." )</syntaxhighlight>


==See Also==
==See Also==
{{Player functions}}
{{Player functions}}

Revision as of 10:53, 14 August 2006