/info als alias für /checkstats hinzugefügt

This commit is contained in:
Luke
2021-05-09 19:37:54 +02:00
parent 2d7c0ef54e
commit e5c0c6aa30

View File

@@ -3813,7 +3813,7 @@ namespace ReallifeGamemode.Server.Commands
player.SendChatMessage("~m~Benutzung:~s~ /business [price] [Option]");
}
[Command("checkstats", "~m~Benutzung:~s~ /checkstats [Spieler]")]
[Command("checkstats", "~m~Benutzung:~s~ /checkstats [Spieler]", Alias = "info")]
public void CmdAdminCheckStats(Player player, string nameOrId)
{
User user = player.GetUser();
@@ -3838,7 +3838,7 @@ namespace ReallifeGamemode.Server.Commands
bool flyingLicense = targetUser.FlyingLicensePlane;
bool weaponLicense = targetUser.WeaponLicense;
int playedHours = targetUser.PlayedMinutes / 60;
string playedHoursString = "";
string playedHoursString;
int jailTime = targetUser.JailTime;
if (user.IsAdmin(AdminLevel.HEADADMIN))