Перейти к содержанию

GetPlayerPing

Материал из RAGE MP Wiki Archive

Gets the current player ping

Syntax

<syntaxhighlight lang="C#" >int NAPI.Player.GetPlayerPing(Player player);</syntaxhighlight>

Required Arguments

  • player: parameter input should be in Player type.

NOTE: This function returns data in int type.

Usage example(s)

Example Description <syntaxhighlight lang="C#" >NAPI.Player.GetPlayerPing(player);</syntaxhighlight>