Add playtime and warns in M menu

This commit is contained in:
CroniX
2021-04-04 14:58:33 +02:00
parent 64343fc640
commit 14fdc1e1a4
3 changed files with 13 additions and 1 deletions

View File

@@ -151,7 +151,9 @@ namespace ReallifeGamemode.Server.Events
licenses,
vehicles,
factionVehicles,
nextPayday = u.PaydayTimer
nextPayday = u.PaydayTimer,
playTime = u.PlayedMinutes / 60,
userWarn = u.warn,
};
string faction = u.Faction?.Name ?? "Zivilist";