mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-16 21:08:28 +00:00
Remove ping from player stats
This commit is contained in:
parent
422dc1d8c4
commit
8429b2c36b
1 changed files with 2 additions and 3 deletions
|
@ -8,8 +8,8 @@ namespace SanAndreasUnity.Stats
|
|||
{
|
||||
public class PlayerStats : MonoBehaviour
|
||||
{
|
||||
float[] m_widths = new float[]{80, 15, 15, 20, 60, 15, 15};
|
||||
string[] m_columnNames = new string[]{"Address", "Net id", "Ped net id", "Ped model", "Ped state", "Health", "Ping"};
|
||||
float[] m_widths = new float[]{80, 15, 15, 20, 60, 15};
|
||||
string[] m_columnNames = new string[]{"Address", "Net id", "Ped net id", "Ped model", "Ped state", "Health"};
|
||||
|
||||
|
||||
void Start()
|
||||
|
@ -38,7 +38,6 @@ namespace SanAndreasUnity.Stats
|
|||
GUILayout.Label(p.OwnedPed != null && p.OwnedPed.PedDef != null ? p.OwnedPed.PedDef.ModelName : "", GUILayout.Width(GetWidth(3)));
|
||||
GUILayout.Label(p.OwnedPed != null && p.OwnedPed.CurrentState != null ? p.OwnedPed.CurrentState.GetType().Name : "", GUILayout.Width(GetWidth(4)));
|
||||
GUILayout.Label(p.OwnedPed != null ? p.OwnedPed.Health.ToString() : "", GUILayout.Width(GetWidth(5)));
|
||||
GUILayout.Label("", GUILayout.Width(GetWidth(6)));
|
||||
|
||||
GUILayout.EndHorizontal();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue