mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-23 04:23:04 +00:00
improvement
This commit is contained in:
parent
ee25411026
commit
8fa8092e8d
1 changed files with 6 additions and 4 deletions
|
@ -17,12 +17,14 @@ namespace SanAndreasUnity.Stats
|
||||||
void OnStatGUI()
|
void OnStatGUI()
|
||||||
{
|
{
|
||||||
|
|
||||||
GUILayout.Label("Num peds: " + Ped.NumPeds);
|
|
||||||
GUILayout.Label("Num vehicles: " + Vehicle.NumVehicles);
|
|
||||||
GUILayout.Label("Num ped state changes received: " + Ped.NumStateChangesReceived);
|
|
||||||
|
|
||||||
var sb = new System.Text.StringBuilder();
|
var sb = new System.Text.StringBuilder();
|
||||||
|
|
||||||
|
sb.AppendFormat("num peds: {0}\n", Ped.NumPeds);
|
||||||
|
sb.AppendFormat("num vehicles: {0}\n", Vehicle.NumVehicles);
|
||||||
|
sb.AppendFormat("num ped state changes received: {0}\n", Ped.NumStateChangesReceived);
|
||||||
|
|
||||||
|
sb.AppendLine();
|
||||||
|
|
||||||
// info about local ped
|
// info about local ped
|
||||||
|
|
||||||
var ped = Ped.Instance;
|
var ped = Ped.Instance;
|
||||||
|
|
Loading…
Reference in a new issue